currentfeature/docs
Last change
on this file since 737eb6c was
76ebb1b,
checked in by Borja Lopez <borja@…>, 5 years ago
|
(#29) Add user verification by email on signup.
From now on, when a new user signs up, we set the account into an "unverified"
state. In order to complete the signup procedure, the user has to click on a
link we send by email to the email address provided on signup.
IMPORTANT: A new dependency has been added, pyramid_mailer, so remember to
install it in any existing openworkouts environment (this is done automatically
if you use the ./bin/start script):
pip install pyramid_mailer
|
-
Property mode set to
100644
|
File size:
1010 bytes
|
Rev | Line | |
---|
[76ebb1b] | 1 | <html xmlns="http://www.w3.org/1999/xhtml" |
---|
| 2 | xml:lang="en" |
---|
| 3 | xmlns:tal="http://xml.zope.org/namespaces/tal" |
---|
| 4 | xmlns:metal="http://xml.zope.org/namespaces/metal" |
---|
| 5 | xmlns:i18n="http://xml.zope.org/namespaces/i18n" |
---|
| 6 | i18n:domain="OpenWorkouts" |
---|
| 7 | metal:use-macro="load: base_anonymous.pt" |
---|
| 8 | tal:attributes="lang request.locale_name"> |
---|
| 9 | |
---|
| 10 | <metal:content metal:fill-slot="content"> |
---|
| 11 | |
---|
| 12 | <div class="verify-content"> |
---|
| 13 | |
---|
| 14 | <p i18n:translate=""> |
---|
| 15 | Your email hasn't been verified. Check the url and make sure you copied |
---|
| 16 | it exactly as it was in the verification email. |
---|
| 17 | </p> |
---|
| 18 | |
---|
| 19 | <tal:not-logged-in tal:condition="not request.authenticated_userid"> |
---|
| 20 | <a href="" tal:attributes="href request.resource_url(request.root, 'login')" |
---|
| 21 | i18n:translate="">Login</a> |
---|
| 22 | |
---|
| 23 | <a href="" tal:attributes="href request.resource_url(request.root, 'signup')" |
---|
| 24 | i18n:translate="">Join now!</a> |
---|
| 25 | </tal:not-logged-in> |
---|
| 26 | </div> |
---|
| 27 | |
---|
| 28 | </metal:content> |
---|
| 29 | |
---|
| 30 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.