Skip to content

Commit ad61774

Browse files
committed
Whoops, dont mess up logging in if the code starts with 0
1 parent d1880af commit ad61774

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Http/Requests/Auth/LoginCheckpointRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function rules(): array
2525
{
2626
return [
2727
'confirmation_token' => 'required|string',
28-
'authentication_code' => 'required|int',
28+
'authentication_code' => 'required|numeric',
2929
];
3030
}
3131
}

0 commit comments

Comments
 (0)