Make 2FA code + validation more robust. Thanks to @jtmoss3991, @timaschew and @Ottega.

This commit is contained in:
James Cole
2022-09-04 13:32:59 +02:00
parent 8659c7efbd
commit 06b7f18d55
5 changed files with 37 additions and 27 deletions

View File

@@ -64,7 +64,6 @@ class AuthServiceProvider extends ServiceProvider
);
$this->registerPolicies();
Passport::routes();
Passport::tokensExpireIn(now()->addDays(14));
}
}