mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
Fixed updating safety settings
This commit is contained in:
@ -245,11 +245,6 @@ class UserController
|
||||
|
||||
R::store($user);
|
||||
$this->context->transport->user = $user;
|
||||
if ($this->context->user->id == $user->id)
|
||||
{
|
||||
$this->context->user = $user;
|
||||
unset($_SESSION['user']);
|
||||
}
|
||||
$this->context->transport->success = true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user