update to 24.05
This commit is contained in:
parent
c2422030f8
commit
1030aa4946
3 changed files with 6 additions and 6 deletions
|
@ -113,7 +113,7 @@ async def login() -> ResponseReturnValue:
|
|||
options = webauthn.generate_authentication_options(
|
||||
rp_id = public_url.hostname,
|
||||
user_verification = UserVerificationRequirement.REQUIRED,
|
||||
challenge=webauthn.helpers.generate_challenge(32)
|
||||
challenge=webauthn.helpers.generate_challenge()
|
||||
)
|
||||
token = jwt.encode({
|
||||
'challenge': b64encode(options.challenge).decode(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue