diff --git a/src/Controllers/UserController.php b/src/Controllers/UserController.php index 9a81971a..0e6f8b28 100644 --- a/src/Controllers/UserController.php +++ b/src/Controllers/UserController.php @@ -382,6 +382,8 @@ class UserController throw new SimpleException('Must supply valid current password'); } UserModel::save($user); + if ($this->context->user->id == $user->id) + AuthController::doReLog(); if ($confirmMail) self::sendEmailChangeConfirmation($user);