close #326 fix rule for the user auth_tf_enabled field
This commit is contained in:
@ -248,7 +248,7 @@ class User extends ActiveRecord implements IdentityInterface
|
||||
// two factor auth rules
|
||||
'twoFactorSecretTrim' => ['auth_tf_key', 'trim'],
|
||||
'twoFactorSecretLength' => ['auth_tf_key', 'string', 'max' => 16],
|
||||
'twoFactorEnabledNumber' => ['auth_tf_enabled', 'integer']
|
||||
'twoFactorEnabledNumber' => ['auth_tf_enabled', 'boolean']
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user