Skip to content
Snippets Groups Projects
Commit 01a9a386 authored by Julian Rother's avatar Julian Rother
Browse files

Fixed navbar login reference on login page (closes #119)

parent 60736850
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@
{
html:true,
title:'Login für Moderatoren',
content:'<form method="post" action="{{url_for('login', ref=request.url)}}"><input autofocus placeholder="User" name="user" type="text"><br><input placeholder="Password" name="password" type="password"><br><input type="submit" value="Login"></form>'
content:'<form method="post" action="{{url_for('login', ref=request.values.get('ref', request.url))}}"><input autofocus placeholder="User" name="user" type="text"><br><input placeholder="Password" name="password" type="password"><br><input type="submit" value="Login"></form>'
}
)
</script>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment