def render_login_page(): if admin_authentication.is_logged_in(): return redirect("/choose_study") return render_template('admin_login.html')
def e404(e): return render_template("404.html", is_logged_in=is_logged_in()), 404
def render_login_page(): if admin_authentication.is_logged_in(): return redirect("/choose_study") return render_template('admin_login.html')
def e404(e): return render_template("404.html", is_logged_in=is_logged_in()), 404