mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
merge old validation-changes branch
This commit is contained in:
@ -54,7 +54,7 @@ class AccessTokensController extends Controller
|
|||||||
{
|
{
|
||||||
$request->validate([
|
$request->validate([
|
||||||
'username' => 'required|email',
|
'username' => 'required|email',
|
||||||
'password' => 'required|string',
|
'password' => 'required|string|min:8',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
if ($this->hasTooManyLoginAttempts($request)) {
|
if ($this->hasTooManyLoginAttempts($request)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user