mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 11:18:56 +00:00
Add support for 2 Factor Authentification (2FA)
This commit is contained in:
@@ -946,4 +946,12 @@ class User extends Authenticatable
|
||||
{
|
||||
static::whereVerified(0)->where('created_at', '<', now()->subDays(3))->delete();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Illuminate\Database\Eloquent\Relations\HasOne
|
||||
*/
|
||||
public function passwordSecurity(): \Illuminate\Database\Eloquent\Relations\HasOne
|
||||
{
|
||||
return $this->hasOne(PasswordSecurity::class);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user