Add support for 2 Factor Authentification (2FA)

This commit is contained in:
DariusIII
2020-12-28 01:32:20 +01:00
parent 6c621f9fb4
commit fa3ded8b41
24 changed files with 1181 additions and 20 deletions
+25
View File
@@ -0,0 +1,25 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class PasswordSecurity extends Model
{
use HasFactory;
/**
* @var array
*/
protected $guarded = [];
/**
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function user(): BelongsTo
{
return $this->belongsTo(User::class);
}
}