Continue arg in login and logout routes
[cavote.git] / templates / login.html
index 332195e..b00dc72 100644 (file)
@@ -2,7 +2,7 @@
 {% block body %}
 <div class="row">
   <div class="span3 well offset1">
-    <form action="{{ url_for('login') }}" method="post">
+    <form action="{{ url_for('login', continue=request.args.continue) }}" method="post">
     <fieldset><legend>Connexion</legend>
       <label for="username">E-mail</label>
       <input type="text" name="username" id="username" value="{{ request.form.username }}"/>