Fixed errors when user has no flags

This commit is contained in:
Frank Schubert
2025-12-10 17:11:19 +01:00
parent 62cbcc72f0
commit 7bed81ec46

View File

@@ -7,7 +7,7 @@
*/
class User extends mfBaseModel {
public $permissions;
public $flags;
public $flags = [];
public $address;
protected $forcestr = ['mobile','twofactorcode'];