Skip to content

Commit 18dc922

Browse files
committed
fix: restore accidentally removed fields in User class
1 parent d0fc02e commit 18dc922

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/casdoor/user.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ def __init__(self):
159159
self.mfaPhoneEnabled = False
160160
self.mfaEmailEnabled = False
161161

162+
self.isGlobalAdmin = False
163+
self.invitation = ""
164+
self.invitationCode = ""
165+
162166
self.ldap = ""
163167
self.properties = {}
164168

0 commit comments

Comments
 (0)