From 127a4dbab4b4c1354776529fb966fe8550e4bbdf Mon Sep 17 00:00:00 2001 From: Gregory Rose Date: Thu, 20 Jun 2013 13:37:55 -0700 Subject: [PATCH] Fix registration problem Implemented the fix described by alexsms on https://github.com/coto/gae-boilerplate/issues/236#issuecomment-16306657 --- boilerplate/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boilerplate/handlers.py b/boilerplate/handlers.py index 3c76089b..12e50d16 100644 --- a/boilerplate/handlers.py +++ b/boilerplate/handlers.py @@ -774,7 +774,7 @@ def post(self): # User registered successfully # But if the user registered using the form, the user has to check their email to activate the account ??? try: - user_info = models.User.get_by_email(email) + user_info = user[1] if (user_info.activated == False): # send email subject = _("%s Account Verification" % self.app.config.get('app_name'))