mirror of
https://github.com/simple-login/app.git
synced 2025-10-09 14:56:40 +08:00
set Fido.user_id
This commit is contained in:
parent
e4f2e1f5a8
commit
bd8b9526f6
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ def fido_setup():
|
||||||
public_key=str(fido_credential.public_key, "utf-8"),
|
public_key=str(fido_credential.public_key, "utf-8"),
|
||||||
sign_count=fido_credential.sign_count,
|
sign_count=fido_credential.sign_count,
|
||||||
name=fido_token_form.key_name.data,
|
name=fido_token_form.key_name.data,
|
||||||
|
user_id=current_user.id,
|
||||||
)
|
)
|
||||||
Session.commit()
|
Session.commit()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue