Skip to content

Commit 2609576

Browse files
committed
Update UpdateAccountPassword current_password guard. Fixes #53
1 parent ba0d3b8 commit 2609576

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Http/Requests/UpdateAccountPassword.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public function authorize(): bool
2222
public function rules(): array
2323
{
2424
return [
25-
'current_password' => 'required|current_password:api',
25+
'current_password' => 'required|current_password',
2626
'password' => 'required|string|min:8|max:72|confirmed',
2727
'password_confirmation' => 'required|string|min:8|max:72',
2828
];

0 commit comments

Comments
 (0)