aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2018-12-28 05:57:39 -0500
committerThibaut Horel <thibaut.horel@gmail.com>2018-12-28 05:57:39 -0500
commit2c3ab103355b616815756f1f3ba74b147a02a857 (patch)
treec3833d02d8e2e47e93734c4b894d4f1016f93cb4 /templates
parent08a5afd311e918f89d0d6ef955a3b1dbbe38713a (diff)
downloadid-2c3ab103355b616815756f1f3ba74b147a02a857.tar.gz
Add redirect logic to login flow
Diffstat (limited to 'templates')
-rw-r--r--templates/login.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/templates/login.tmpl b/templates/login.tmpl
index 28529a7..67d0000 100644
--- a/templates/login.tmpl
+++ b/templates/login.tmpl
@@ -29,6 +29,7 @@ button:hover {background-color: #1967be; border-color: #1862b5}
<input type="password" id="password" name="password" placeholder="Mot de passe"/>
<button type="submit" name="login">Se Connecter</button>
+ <input type="hidden" id="next" value="{{.Next}}"/>
</div>
<hr>
</form>