chg: [auth] Simplified condition

authImprovements
mokaddem 2019-10-11 09:45:54 +02:00
parent 8da3d509cd
commit 1b4df61591
1 changed files with 0 additions and 2 deletions

View File

@ -138,8 +138,6 @@ class User(UserMixin):
dashboard_access = me_json.get('UserSetting', {}).get('dashboard_access', False)
if dashboard_access is not False:
return dashboard_access is True or dashboard_access == 1
else:
return False
return None