Skip to content
Snippets Groups Projects
Commit 08398509 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 remove the case sensitivity for email logins.
parent b692e5e1
No related branches found
No related tags found
No related merge requests found
......@@ -176,7 +176,7 @@ class Ticket {
function getAuthToken() {
# XXX: Support variable email address (for CCs)
return md5($this->getId() . $this->getEmail() . SECRET_SALT);
return md5($this->getId() . strtolower($this->getEmail()) . SECRET_SALT);
}
function getName() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment