aboutsummaryrefslogtreecommitdiff
path: root/grumpy
diff options
context:
space:
mode:
authorPriit Laes <plaes@plaes.org>2010-08-10 17:01:19 +0300
committerPriit Laes <plaes@plaes.org>2010-08-10 17:01:19 +0300
commite2475a9b1d8b678656c00f0b8067b4a87f935971 (patch)
tree310b08b17ad3555c54145b1144708ccf1ed4910d /grumpy
parentAdded grumpy.wsgi file (diff)
downloadgsoc2010-grumpy-e2475a9b1d8b678656c00f0b8067b4a87f935971.tar.gz
gsoc2010-grumpy-e2475a9b1d8b678656c00f0b8067b4a87f935971.tar.bz2
gsoc2010-grumpy-e2475a9b1d8b678656c00f0b8067b4a87f935971.zip
Use GRUMPY_SERVER_ADDR conf variable and fix emails
Diffstat (limited to 'grumpy')
-rw-r--r--grumpy/templates/email/registration.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/grumpy/templates/email/registration.txt b/grumpy/templates/email/registration.txt
index f4e05bb..121da19 100644
--- a/grumpy/templates/email/registration.txt
+++ b/grumpy/templates/email/registration.txt
@@ -1,6 +1,6 @@
Hey!
-You have signed up on Gentoo's Grumpy ( {{ config['GRUMPY_WEBSITE_URL']}} ),
+You have signed up on Gentoo's Grumpy ( {{ config['GRUMPY_SERVER_ADDR']}}{{url_for('index')}} ),
but your account is not yet activated. In order to activate your account,
please visit the following address:
-{{ config['GRUMPY_WEBSITE_URL']}}{{ url_for('confirm_account', email=user.email) }}?token={{ user.regtoken }}
+{{ config['GRUMPY_SERVER_ADDR']}}{{ url_for('confirm_account', email=user.email) }}?token={{ user.regtoken }}