generated from nathanwoodburn/python-webserver-template
feat: Add custom instructions to login
All checks were successful
Build Docker / BuildImage (push) Successful in 30s
All checks were successful
Build Docker / BuildImage (push) Successful in 30s
This commit is contained in:
@@ -129,7 +129,9 @@ def login():
|
||||
except Exception as e:
|
||||
error = f"Authentication error: {str(e)}"
|
||||
|
||||
return render_template("login.html", error=error)
|
||||
custom_instructions = os.getenv("YUBIKEY_INSTRUCTIONS")
|
||||
|
||||
return render_template("login.html", error=error, custom_instructions=custom_instructions)
|
||||
|
||||
@app.route("/logout")
|
||||
def logout():
|
||||
|
||||
Reference in New Issue
Block a user