diff --git a/patches/002-login-without-domain.patch b/patches/002-login-without-domain.patch index 96862b1a75c1d5e45bb2d1a8bef4af1ba2b03a2d..bd0619a55c0affccdf639b932d047eeea349c0d8 100644 --- a/patches/002-login-without-domain.patch +++ b/patches/002-login-without-domain.patch @@ -4,7 +4,7 @@ return $this->generateRedirect($redirect_url); } -+ $user = mb_strtolower(trim($user), "UTF-8"); ++ $user = trim($user); + $domain = $this->config->getSystemValue("mail_domain"); + $domain_suffix = "@$domain"; + $admin_username = $_ENV["NEXTCLOUD_ADMIN_USER"];