summaryrefslogtreecommitdiff
path: root/mobile/login_form.php
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/login_form.php')
-rw-r--r--mobile/login_form.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/mobile/login_form.php b/mobile/login_form.php
index ad5e35cea..48f7cc5ad 100644
--- a/mobile/login_form.php
+++ b/mobile/login_form.php
@@ -28,7 +28,11 @@ function do_login() {
<a class="button blueButton" onclick='do_login()'><?php echo __('Log in') ?></a>
</div>
- <form target="_self" title="Login" action="index.php" id="login" class="panel" method="post" name="login" selected="true">
+ <form target="_self" title="Login" id="login" class="panel" name="login" selected="true"
+ action="../public.php?return=<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]) ?>"
+ method="post">
+
+ <input type="hidden" name="op" value="login">
<fieldset>