diff options
Diffstat (limited to 'py-bin')
-rw-r--r-- | py-bin/mail_auth.py | 2 | ||||
-rw-r--r-- | py-bin/setup.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/py-bin/mail_auth.py b/py-bin/mail_auth.py index 99c1081..460f858 100644 --- a/py-bin/mail_auth.py +++ b/py-bin/mail_auth.py @@ -11,7 +11,7 @@ class MailAuthMixIn: mail_form.web_callable = True def mail_process(self, req): - email = req.params.get("email", "") + email = req.params.get("email", "").lower() success, status_or_token = self.jman.prepare_user(email) if not success: diff --git a/py-bin/setup.py b/py-bin/setup.py index b2e8fbf..687ce6b 100644 --- a/py-bin/setup.py +++ b/py-bin/setup.py @@ -72,7 +72,7 @@ class SetupMixIn: return domain = req.params.get("domain", "") - account = req.params.get("name", "") + "@" + domain + account = req.params.get("name", "").lower() + "@" + domain password = req.params.get("password", "") password2 = req.params.get("password2", "") |