Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2ab9572d authored by Akhil's avatar Akhil 🙂
Browse files

Added fix for username case

parent 0e790a65
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
 			return $this->generateRedirect($redirect_url);
 		}
 
+		$user = trim($user);
+		$user = mb_strtolower(trim($user), "UTF-8");
+		$domain = $this->config->getSystemValue("mail_domain");
+		$domain_suffix = "@$domain";
+		$admin_username = $_ENV["NEXTCLOUD_ADMIN_USER"];