Skip to content
Snippets Groups Projects
Commit 398cbc7d authored by Jared Hancock's avatar Jared Hancock
Browse files

Use case-insensitive matching on email address

This patch addresses an issue where a client may have upper-case letters in
their email address. When visiting the client portal to check the ticket
status, previously, the exact same case would be required in the 'Email
Address' box.

This patch removes the case sensitivity for email logins.
parent fbae9298
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,7 @@ class ClientSession extends Client { ...@@ -117,7 +117,7 @@ class ClientSession extends Client {
function ClientSession($email, $id){ function ClientSession($email, $id){
parent::Client($id, $email); parent::Client($id, $email);
$this->session= new UserSession($email); $this->session= new UserSession(strtolower($email));
} }
function isValid(){ function isValid(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment