Adding the hidden next field to the login page so we actually do redirect
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 23 Apr 2011 17:56:32 +0000 (12:56 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 23 Apr 2011 17:56:32 +0000 (12:56 -0500)
mediagoblin/templates/mediagoblin/auth/login.html

index 311a73f8e023e54d447006db22f2c19c33437458..f2e7b6646f5aeba6992d5c6e6d459ef68459d535 100644 (file)
@@ -36,5 +36,9 @@
         <td><input type="submit" value="submit" /></td>
       </tr>
     </table>
+
+    {% if next %}
+      <input type="hidden" name="next" value="{{ next }}" />
+    {% endif %}
   </form>
 {% endblock %}