mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-05 13:55:44 -05:00
account activity
This commit is contained in:
@@ -28,8 +28,8 @@ class DisableTwoFactorController extends AdminApiController
|
||||
{
|
||||
$twoFactor->disable($user);
|
||||
|
||||
// The action logs the change on the user's own feed.
|
||||
Activity::event('admin:user.disable-2fa')
|
||||
->subject($user)
|
||||
->property('email', $user->email)
|
||||
->log();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user