diff options
| author | user <user@node5.net> | 2024-03-22 15:00:01 +0100 |
|---|---|---|
| committer | user <user@node5.net> | 2024-03-22 15:00:01 +0100 |
| commit | 604fed77fb7a75bb39cda96b2f06438ce71ee86a (patch) | |
| tree | 36f0459deb535af6a2adb890ab5390659e902c29 /src/ssh_login_attempts.py | |
| parent | 704e6ec0b6a624085b29f8bc7adc5197ec461ddb (diff) | |
password of the month
Diffstat (limited to 'src/ssh_login_attempts.py')
| -rw-r--r-- | src/ssh_login_attempts.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ssh_login_attempts.py b/src/ssh_login_attempts.py index cb5f477..3da31cc 100644 --- a/src/ssh_login_attempts.py +++ b/src/ssh_login_attempts.py @@ -37,6 +37,13 @@ logger.root.addHandler(stream_handler) app = flask.Flask(__name__, template_folder='templates', static_folder='static', static_url_path='') +@app.route("/password_of_the_month") +@app.route("/password of the month") +@app.route("/passwd") +def password_of_the_month(): + password = db_handler.get_password_of_the_month() + return password + @app.route("/") def index(): |
