feat: Add custom instructions to login
All checks were successful
Build Docker / BuildImage (push) Successful in 30s

This commit is contained in:
2025-03-27 16:09:10 +11:00
parent 41ede19ee4
commit d1c10d781d
4 changed files with 12 additions and 4 deletions

View File

@@ -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():