mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 01:34:31 +02:00
Fix issue processwire/processwire-issues#1265
This commit is contained in:
@@ -422,7 +422,7 @@ class ProcessLogin extends Process implements ConfigurableModule {
|
||||
$originalValue = $value;
|
||||
|
||||
if(!$this->useEmailLogin() || !strpos($value, '@')) {
|
||||
$value = $this->sanitizer->pageName($value);
|
||||
$value = $this->sanitizer->pageNameUTF8($value);
|
||||
$this->submitLoginName = $value;
|
||||
if($originalValue !== $value && strtolower($originalValue) !== $value) {
|
||||
// if sanitizer changed anything about the value (other than case) do not accept it
|
||||
|
Reference in New Issue
Block a user