summaryrefslogtreecommitdiffstats
path: root/core/templates/login.php
diff options
context:
space:
mode:
authorMarvin Thomas Rabe <m.rabe@echtzeitraum.de>2011-10-04 19:27:57 +0200
committerMarvin Thomas Rabe <m.rabe@echtzeitraum.de>2011-10-04 19:27:57 +0200
commit33f24a42b88ede5135ab2118077a25a6c479201b (patch)
tree463ed45ba7f1932920564457423894e6130ea87a /core/templates/login.php
parent314e84716b5b0d2449412cfcdc9e8c2aff9ea665 (diff)
downloadnextcloud-server-33f24a42b88ede5135ab2118077a25a6c479201b.tar.gz
nextcloud-server-33f24a42b88ede5135ab2118077a25a6c479201b.zip
redirect url fixed
Diffstat (limited to 'core/templates/login.php')
-rw-r--r--core/templates/login.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/templates/login.php b/core/templates/login.php
index aff0afac203..6c0a7a12227 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -1,5 +1,6 @@
<form action="index.php" method="post">
<fieldset>
+ <?php if(!empty($_['redirect'])) { echo '<input type="hidden" name="redirect_url" value="'.$_['redirect'].'" />'; } ?>
<?php if($_['error']): ?>
<a href="./core/lostpassword/"><?php echo $l->t('Lost your password?'); ?></a>
<?php endif; ?>