mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
Typo
This commit is contained in:
parent
8d0ee9e531
commit
335e8ffaaa
|
@ -255,7 +255,7 @@ class LoginController extends Controller
|
|||
$user = Auth::user();
|
||||
|
||||
// Check whether there is a device enrolled.
|
||||
// This *should* be handled viaq the \App\Http\Middleware\CheckForTwoFactor middleware
|
||||
// This *should* be handled via the \App\Http\Middleware\CheckForTwoFactor middleware
|
||||
// but we're just making sure (in case someone edited the database directly, etc)
|
||||
if (($user->two_factor_secret=='') || ($user->two_factor_enrolled!=1)) {
|
||||
return redirect()->route('two-factor-enroll');
|
||||
|
|
Loading…
Reference in a new issue