Skip to content

Commit 979d080

Browse files
committed
Error on login and change password if user has no right to edit profile #303
1 parent d93daf8 commit 979d080

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

adm_program/system/common.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,7 @@
183183
// and we should update the login data and count logins
184184
if($gCurrentSession->getValue('ses_usr_id') > 0)
185185
{
186+
$gCurrentUser->saveChangesWithoutRights();
186187
$gCurrentUser->updateLoginData();
187188
}
188189

0 commit comments

Comments
 (0)