MAPG-140 refactor user handling to use the PersistentDataManager
This commit is contained in:
1 parent
d6750777c2
commit
a9eec05288
6 files changed
+78
-60
No files matched your search
@@ -4,15 +4,15 @@ use MapGuesser\Interfaces\Authentication\IUser;
|
||||
|
||||
class User extends Model implements IUser
|
||||
{
|
||||
private static array $types = ['user', 'admin'];
|
||||
|
||||
protected static string $table = 'users';
|
||||
|
||||
protected static array $fields = ['email', 'password', 'type', 'active'];
|
||||
|
||||
private string $email;
|
||||
private static array $types = ['user', 'admin'];
|
||||
|
||||
private string $password;
|
||||
private string $email = '';
|
||||
|
||||
private string $password = '';
|
||||
|
||||
private string $type = 'user';
|
||||
|
||||
|
||||
Reference in new issue
Block a user