projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
0004082: Missing file errors and fix
[fa-stable.git]
/
admin
/
change_current_user_password.php
diff --git
a/admin/change_current_user_password.php
b/admin/change_current_user_password.php
index b226cd553b6e5f42e16f909efd927b0d14ad62a2..1b69e00ec5f7fdea54e09a49ad0be8494c9a83ec 100644
(file)
--- a/
admin/change_current_user_password.php
+++ b/
admin/change_current_user_password.php
@@
-64,7
+64,7
@@
if (isset($_POST['UPDATE_ITEM']) && check_csrf_token())
if (can_process())
{
- if ($allow_demo_mode) {
+ if ($
SysPrefs->
allow_demo_mode) {
display_warning(_("Password cannot be changed in demo mode."));
} else {
update_user_password($_SESSION["wa_current_user"]->user,