mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 22:33:44 +02:00
Change email handling and logout function
This commit is contained in:
@@ -34,9 +34,6 @@ class UpdateEmailRequest extends ClientApiRequest
|
||||
{
|
||||
$rules = User::getUpdateRulesForId($this->user()->id);
|
||||
|
||||
return [
|
||||
'email' => $rules['email'],
|
||||
'password' => array_merge($rules['password'], ['confirmed']),
|
||||
];
|
||||
return ['email' => $rules['email']];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user