mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
improve admin user profile + image hosting
This commit is contained in:
@@ -333,6 +333,11 @@ class User extends Authenticatable implements FilamentUser, HasName
|
||||
);
|
||||
}
|
||||
|
||||
protected function getTwoFactorAuthenticationStatusAttribute(): string
|
||||
{
|
||||
return $this->two_step_secret != "" ? "yes" : "no";
|
||||
}
|
||||
|
||||
public static function getMinSeedPoints($class)
|
||||
{
|
||||
$setting = Setting::get("account.{$class}_min_seed_points");
|
||||
|
||||
Reference in New Issue
Block a user