修复jcloud登陆提示您无权访问此资源的问题
This commit is contained in:
parent
0991bc216e
commit
14e292b655
@ -1368,7 +1368,7 @@ def get_user_ssh_keys():
|
||||
)
|
||||
|
||||
|
||||
@jingrow.whitelist()
|
||||
@jingrow.whitelist(allow_guest=True)
|
||||
def is_2fa_enabled(user):
|
||||
return jingrow.db.get_value("User 2FA", user, "enabled")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user