mirror of
https://github.com/capricornxl/ad-password-self-service.git
synced 2025-08-12 04:52:43 +08:00
remove dependence redis-sever, now use mem storage
update to layui, support PC and Mobile html render
This commit is contained in:
@@ -51,8 +51,3 @@ def get_user_is_active(user_info):
|
||||
except (KeyError, IndexError) as k_error:
|
||||
return False, 'get_user_is_active: %s' % str(k_error)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
user = 'jf.com\XiangLe'
|
||||
username = format2username(user)
|
||||
print(username)
|
||||
|
Reference in New Issue
Block a user