From: Christian Weiske Date: Mon, 17 Sep 2012 21:33:20 +0000 (+0200) Subject: get rid of start variable in form X-Git-Tag: v0.3.0~42^2~29 X-Git-Url: https://git.cweiske.de/phorkie.git/commitdiff_plain/e380a7f6aaefb1bbd16a595b6f855ce036501981 get rid of start variable in form --- diff --git a/data/templates/login.htm b/data/templates/login.htm index b02503f..084b438 100644 --- a/data/templates/login.htm +++ b/data/templates/login.htm @@ -6,17 +6,14 @@
- - -
Sign-in

Please choose your account provider

- - + +

or enter your OpenID URL.

diff --git a/www/login.php b/www/login.php index 790a73a..e3d165d 100644 --- a/www/login.php +++ b/www/login.php @@ -40,7 +40,7 @@ if (!count($_GET) && !count($_POST)) { } // Hackaround Non-Javascript Login Page -if (!count($_POST) && isset($_GET['start'])) { +if (!count($_POST) && isset($_GET['openid_url'])) { $_POST = $_GET; } @@ -70,7 +70,7 @@ if (!empty($_POST['disable_associations']) || !empty($_SESSION['disable_associat $log = new \OpenID_Observer_Log; \OpenID::attach($log); -if (isset($_POST['start'])) { +if (isset($_POST['openid_url'])) { $_SESSION['openid_url'] = $openid_url; try {