mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-17 15:52:15 +00:00
build
This commit is contained in:
@@ -223,7 +223,6 @@ class User extends Authenticatable implements MustVerifyEmail
|
||||
});
|
||||
|
||||
static::updating(function ($user) {
|
||||
|
||||
// Prevent to set 2fa in demo mode
|
||||
if (config('vuefilemanager.is_demo') && $user->email === 'howdy@hi5ve.digital') {
|
||||
$user->two_factor_secret = null;
|
||||
|
||||
Reference in New Issue
Block a user