fix being logged in after changing password
This commit is contained in:
parent
76c7da0161
commit
bf8b085de6
@ -464,7 +464,7 @@ class UserPage extends Extension {
|
||||
// FIXME: send_event()
|
||||
$duser->set_password($pass1);
|
||||
|
||||
if($id == $user->id) {
|
||||
if($duser->id == $user->id) {
|
||||
$this->set_login_cookie($duser->name, $pass1);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user