Refresh this

This commit is contained in:
Lance Pioch 2024-06-01 13:03:46 -04:00
parent 67cb3d4816
commit cd4b7cbf9e

View File

@ -272,6 +272,8 @@ class EditProfile extends \Filament\Pages\Auth\EditProfile
$tokens = $service->handle($record, $token, true);
cache()->set("users.$record->id.2fa.tokens", implode("\n", $tokens), now()->addSeconds(15));
$this->redirectRoute('filament.admin.auth.profile', ['tab' => '-2fa-tab']);
}
if ($token = $data['2fa-disable-code'] ?? null) {