merge old validation-changes branch

This commit is contained in:
jayvirsinh_gohil
2019-11-14 18:08:40 +05:30

View File

@ -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)) {