linting
This commit is contained in:
parent
f1fb0ebe1f
commit
4e93e511ec
|
@ -36,7 +36,7 @@ def fido_setup():
|
|||
if fido_token_form.validate_on_submit():
|
||||
try:
|
||||
sk_assertion = json.loads(fido_token_form.sk_assertion.data)
|
||||
except Exception as e:
|
||||
except Exception:
|
||||
flash("Key registration failed. Error: Invalid Payload", "warning")
|
||||
return redirect(url_for("dashboard.index"))
|
||||
|
||||
|
|
Loading…
Reference in a new issue