debug level was not enough
This commit is contained in:
parent
4586e14ee4
commit
f1d7215eba
|
@ -41,7 +41,7 @@ def register_post():
|
||||||
try:
|
try:
|
||||||
link = url('confirm/' + city + '/%s' % db.user_token(email, password))
|
link = url('confirm/' + city + '/%s' % db.user_token(email, password))
|
||||||
print(link) # only for local testing
|
print(link) # only for local testing
|
||||||
logger.info('confirmation link to ' + email + ": " + link)
|
logger.error('confirmation link to ' + email + ": " + link)
|
||||||
sendmail(
|
sendmail(
|
||||||
email,
|
email,
|
||||||
"Confirm your account",
|
"Confirm your account",
|
||||||
|
|
Loading…
Reference in a new issue