perf: passkey help msg

pull/13473/head
ibuler 5 months ago
parent ae7dbbedcc
commit 11b125655d

@ -109,7 +109,10 @@ def register_complete(request):
data = request.data
server = get_server(request)
state = request.session.pop("fido2_state")
try:
auth_data = server.register_complete(state, response=data)
except ValueError as e:
raise ValidationError({'error': str(e)})
encoded = websafe_encode(auth_data.credential_data)
platform = get_current_platform(request)
name = data.pop("key_name", '') or platform

@ -526,6 +526,7 @@
"HasImportErrorItemMsg": "There are import failures, click on the left x to view the failure reasons, after editing the table, you can continue to import failures.",
"Help": "Help",
"HighLoad": "Higher",
"HTTPSRequiredForSupport": "HTTPS is required for support",
"HistoricalSessionNum": "Total historical sessions",
"History": "History",
"HistoryDate": "Date",

@ -468,6 +468,7 @@
"ExportRange": "导出范围",
"FC": "Fusion Compute",
"Failed": "失败",
"HTTPSRequiredForSupport": "需要 HTTPS 支持,才能开启",
"FailedAsset": "失败的资产",
"FaviconTip": "提示:网站图标(建议图片大小为: 16px*16px",
"Features": "功能设置",

Loading…
Cancel
Save