diff --git a/user_managment/app.py b/user_managment/app.py index cf65f1c..2843b39 100644 --- a/user_managment/app.py +++ b/user_managment/app.py @@ -950,7 +950,7 @@ def create_app(): elif request.args.get('flush_db') == 'true' and request.args.get('portal_username'): content = '''
Flushed auth DB for: ''' + request.args.get('portal_username') + '''
\n''' authlog_flush_user(request.args.get('portal_username')) - elif request.args.get('portal_username'): + elif request.args.get('portal_username') and not request.args.get('flush_db'): a = AuthLog.query.filter_by(portal_username=request.args.get('portal_username')).order_by(AuthLog.login_dmr_id.desc()).all() content = '''