mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-18 06:13:45 +02:00
Update calls to missing function
This commit is contained in:
@@ -75,7 +75,7 @@ class ToggleTwoFactorService
|
||||
throw new TwoFactorAuthenticationTokenInvalid;
|
||||
}
|
||||
|
||||
$this->repository->withoutFresh()->update($user->id, [
|
||||
$this->repository->withoutFreshModel()->update($user->id, [
|
||||
'totp_authenticated_at' => Carbon::now(),
|
||||
'use_totp' => (is_null($toggleState) ? ! $user->use_totp : $toggleState),
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user