issues 237, add trim function in order to delete the blank characters in mail input
This commit is contained in:
parent
72de7bff1c
commit
9da92fd775
@ -65,6 +65,7 @@ class InputService {
|
||||
}
|
||||
|
||||
public function filterMail($mail) {
|
||||
$mail = trim($mail);
|
||||
return filter_var($mail, FILTER_VALIDATE_EMAIL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user