diff options
author | Andrew Dolgov <[email protected]> | 2012-09-10 19:01:06 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-09-10 19:01:06 +0400 |
commit | 97acbaf190ff84b4cc5b01192f14d9ee384d6327 (patch) | |
tree | a64a4e9bfe24c8e4863437fc6ffffcd3b09f93da /mobile | |
parent | c3d2cda86de3b9242483de96d73ce5d9e82881de (diff) |
login system fixes
remove old-style session checking from backend.php
move outside subscription endpoint to public.php, change subscription
bookmarklet
Diffstat (limited to 'mobile')
-rw-r--r-- | mobile/login_form.php | 6 |
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> |