CJVT updates August and September 2026

This commit is contained in:
Luka Romih
2026-10-01 00:49:26 +02:00
parent fd02e25719
commit 83f73aeb58
135 changed files with 6146 additions and 1970 deletions
+4
View File
@@ -495,6 +495,10 @@ exports.deleteProfile = async (req, res) => {
}
exports.changePassword = async (req, res) => {
// SSO accounts have no local password to change - this page doesn't apply to them (the sidebar
// link is also hidden for them, but this covers direct navigation to the URL).
if (req.user.isSso) return res.redirect(303, '/moj-racun')
res.render('pages/profile/change-password', {
title: req.t('Spremeni geslo')
})