mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-01-23 06:38:34 +01:00
Update logged message
This commit is contained in:
parent
db3a732b15
commit
fab67097bc
@ -56,7 +56,7 @@ public function delete(Request $request, $credential)
|
||||
if (blank($user->webAuthnCredentials()->WhereEnabled()->get())) {
|
||||
$request->user()->preferences['useWebauthnOnly'] = false;
|
||||
$request->user()->save();
|
||||
Log::notice(sprintf('No more Webauthn credential for user ID #%s, user Webauthn options reset to default', $user->id));
|
||||
Log::notice(sprintf('No more Webauthn credential for user ID #%s, useWebauthnOnly user preference reset to false', $user->id));
|
||||
}
|
||||
|
||||
Log::info(sprintf('User ID #%s revoked a security device', $user->id));
|
||||
|
Loading…
Reference in New Issue
Block a user