We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit c475e58e authored by Evan Prodromou's avatar Evan Prodromou

be more tolerant of whitespace in email addresses

parent 10cffa8a
......@@ -104,7 +104,7 @@ class DomainWhitelistPlugin extends Plugin
$parts = explode('@', $email);
$userDomain = strtolower($parts[1]);
$userDomain = strtolower(trim($parts[1]));
return in_array($userDomain, $whitelist);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment