Fixed changing access rank

This commit is contained in:
Marcin Kurczewski 2013-12-18 16:11:07 +01:00
parent 5607cfc353
commit 6905ad047d

View file

@ -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);