Change email handling and logout function
This commit is contained in:
parent
ca0c35bf82
commit
fce394f6bd
6 changed files with 18 additions and 42 deletions
|
@ -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']];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue