mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-05 07:20:58 +08:00
Challenge-Response Authentication
This commit is contained in:
@@ -105,4 +105,9 @@ class Setting extends NexusModel
|
||||
return self::get("main.defaultlang");
|
||||
}
|
||||
|
||||
public static function getIsUseChallengeResponseAuthentication(): bool
|
||||
{
|
||||
return self::get("security.use_challenge_response_authentication") == "yes";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -194,7 +194,7 @@ class User extends Authenticatable implements FilamentUser, HasName
|
||||
* @var array
|
||||
*/
|
||||
protected $hidden = [
|
||||
'secret', 'passhash', 'passkey'
|
||||
'secret', 'passhash', 'passkey', 'auth_key'
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user