[freeside-commits] branch FREESIDE_3_BRANCH updated. 878676f548da321f4ce76b4bbd39fb29874d75bc
Ivan
ivan at 420.am
Fri Feb 6 16:53:06 PST 2015
The branch, FREESIDE_3_BRANCH has been updated
via 878676f548da321f4ce76b4bbd39fb29874d75bc (commit)
from e8827baf5db833a6d457c8e2f938b94b129090ff (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 878676f548da321f4ce76b4bbd39fb29874d75bc
Author: Ivan Kohler <ivan at freeside.biz>
Date: Fri Feb 6 16:53:04 2015 -0800
ng selfservice contact login, RT#27943
diff --git a/ng_selfservice/process_login.php b/ng_selfservice/process_login.php
index d2d0155..ac03d0f 100644
--- a/ng_selfservice/process_login.php
+++ b/ng_selfservice/process_login.php
@@ -3,8 +3,8 @@
require('freeside.class.php');
$freeside = new FreesideSelfService();
-$response = $freeside->login( array(
- 'username' => strtolower($_POST['username']),
+$response = $freeside->login( array(
++ 'email' => strtolower($_POST['email']), 'username' => strtolower($_POST['username']),
'domain' => strtolower($_POST['domain']),
'password' => $_POST['password'],
) );
@@ -16,8 +16,9 @@ $error = $response['error'];
if ( $error ) {
header('Location:index.php?username='. urlencode($username).
- '&domain='. urlencode($domain).
- '&error='. urlencode($error)
+ '&domain='. urlencode($domain).
+ '&email='. urlencode($email).
+ '&error='. urlencode($error)
);
die();
-----------------------------------------------------------------------
Summary of changes:
ng_selfservice/process_login.php | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
More information about the freeside-commits
mailing list