New Database

This commit is contained in:
喆OvO
2026-08-11 22:07:55 +08:00
parent cbbb2e6d34
commit ceb4404c6a
28 changed files with 1825 additions and 768 deletions
-2
View File
@@ -108,7 +108,6 @@ def begin_registration(request, user_id: int, display_name: str = "",
existing_credential_id: str = None) -> dict:
"""Start WebAuthn registration for a specific user. Returns options dict."""
rp_id = _get_rp_id(request)
origin = _get_origin(request)
user_name = f"user_{user_id}"
user_handle = user_name.encode("utf-8")
@@ -200,7 +199,6 @@ def begin_authentication(request, allow_credential_ids: list = None) -> dict:
ceremony to (used for re-authentication of the current user).
"""
rp_id = _get_rp_id(request)
origin = _get_origin(request)
allow_credentials = []
if allow_credential_ids: