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

@@ -69,8 +69,6 @@ class RemoteUserProvider implements UserProvider
$roleObject = Role::where('name', 'owner')->first();
$user->roles()->attach($roleObject);
}
}
Log::debug(sprintf('Going to return user #%d (%s)', $user->id, $user->email));