Commits

Zhang Huangbin  committed ca20c7f

Don't revert admin type to normal admin while updating admin profile.

  • Participants
  • Parent commits 19b4607

Comments (0)

Files changed (1)

File libs/mysql/admin.py

                     return (False, str(e))
 
                 # Update global admin.
-                self.domainGlobalAdmin = False
-                if 'domainGlobalAdmin' in data.keys():
-                    self.domainGlobalAdmin = True
+                self.domainGlobalAdmin = True
 
                 if self.domainGlobalAdmin is True:
                     try: