diff options
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(): |
