added support for resetting a password while logged in
This commit is contained in:
parent
e81cfcb19a
commit
24e9d28a6e
4 changed files with 53 additions and 2 deletions
|
|
@ -24,8 +24,7 @@ class PasswordResetRequest extends FormRequest
|
|||
return [
|
||||
'password' => 'required|string|min:8|confirmed',
|
||||
'password_confirmation' => 'string',
|
||||
'token' => 'required|string',
|
||||
'email' => 'required|email|exists:users,email',
|
||||
'current_password' => 'required|string',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue