Strange trouble with password reset

42 views
Skip to first unread message

Kirill Shatalaev

unread,
May 4, 2016, 5:40:19 PM5/4/16
to web...@googlegroups.com
Hello, I'm using web2py 2.14.5-stable+timestamp.2016.04.14.03.26.16

mail = logging for testing purposes.

So, controller:

def user():
return dict(form=auth())

Registering new user goes as it must. Email verification (this is console output):

2016-05-05 01:21:14,601 - web2py - WARNING - email not sent
----------------------------------------
From: nor...@example.com
To: h...@bb.com
Subject: Email verification

Click on the link http://127.0.0.1:8000/myblog/default/user/verify_email/17b4d0ed-4af0-4c28-ae77-e6d9b14e109b to verify your email
----------------------------------------

Click this link, so user successfully registered and can login.

But when I try to reset password with http://127.0.0.1:8000/myblog/default/user/request_reset_password
this is result email:

2016-05-05 01:24:46,313 - web2py - WARNING - email not sent
----------------------------------------
Subject: 

None
----------------------------------------

So its subject and body is absolutely empty. The reset password key is created for user  h...@bb.com and I can see it on my database.

What can I do to fix it?

Kirill Shatalaev

unread,
May 5, 2016, 9:44:46 AM5/5/16
to web2py-users
I've found a trouble: empty translation string. But I did not edit translations. Is it a bug?
Reply all
Reply to author
Forward
0 new messages