mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 18:40:13 +01:00
user add/edit case sensitivity fix
This commit is contained in:
parent
0a78b061d5
commit
f940b404f8
@ -107,7 +107,7 @@ private function validate() {
|
||||
else {
|
||||
$emails = explode("\n", $this->request->post['email']);
|
||||
foreach ($emails as $email) {
|
||||
$email = rtrim($email);
|
||||
$email = strtolower(rtrim($email));
|
||||
if($email == '') { continue; }
|
||||
|
||||
$ret = checkemail($email, $this->domains);
|
||||
|
@ -113,7 +113,7 @@ class ControllerUserEdit extends Controller {
|
||||
} else {
|
||||
$emails = explode("\n", $this->request->post['email']);
|
||||
foreach ($emails as $email) {
|
||||
$email = rtrim($email);
|
||||
$email = strtolower(rtrim($email));
|
||||
|
||||
if($email == '') { continue; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user