diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-04-23 12:56:32 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-04-23 12:56:32 -0500 |
commit | 6e41c71c4924b04947ef657b2f220accc4a57595 (patch) | |
tree | f788a853c3b4839a27ef5833f56a17d681c5003c | |
parent | f6f524bf5990c116d59868dd0edeafcc1ba58e09 (diff) | |
download | mediagoblin-6e41c71c4924b04947ef657b2f220accc4a57595.tar.lz mediagoblin-6e41c71c4924b04947ef657b2f220accc4a57595.tar.xz mediagoblin-6e41c71c4924b04947ef657b2f220accc4a57595.zip |
Adding the hidden next field to the login page so we actually do redirect
-rw-r--r-- | mediagoblin/templates/mediagoblin/auth/login.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mediagoblin/templates/mediagoblin/auth/login.html b/mediagoblin/templates/mediagoblin/auth/login.html index 311a73f8..f2e7b664 100644 --- a/mediagoblin/templates/mediagoblin/auth/login.html +++ b/mediagoblin/templates/mediagoblin/auth/login.html @@ -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 %} |