Update to latest version

This commit is contained in:
Reditus committed 2026-05-15 02:18:17 +01:00
1 parent 7125e29993
commit c74ef9cf9c
15 files changed
+191 -70

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ def init_auth(app, settings, limiter=None):
return None
@app.route('/login', methods=['GET', 'POST'])
@limiter.limit("10 per minute") if limiter else lambda f: f
@limiter.limit("5 per hour") if limiter else lambda f: f
def login():
if current_user.is_authenticated:
return redirect(url_for('overview'))