mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update src/Security/Member.php
Co-authored-by: Steve Boyd <emteknetnz@gmail.com>
This commit is contained in:
parent
0586c55e62
commit
19052e6924
@ -872,7 +872,7 @@ class Member extends DataObject
|
||||
public function onBeforeWrite()
|
||||
{
|
||||
// Prevent spaces in emails
|
||||
if($this->Email) {
|
||||
if ($this->Email) {
|
||||
$this->Email = trim($this->Email);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user