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

Commit 7aa35651 authored by Evan Prodromou's avatar Evan Prodromou

trim invite and confirm addresses

parent c475e58e
......@@ -241,9 +241,9 @@ class EmailregisterAction extends Action
function setPassword()
if (!empty($this->invitation)) {
$email = $this->invitation->address;
$email = trim($this->invitation->address);
} else if (!empty($this->confirmation)) {
$email = $this->confirmation->address;
$email = trim($this->confirmation->address);
} else {
throw new Exception('No confirmation thing.');
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