Skip to content
Snippets Groups Projects
Unverified Commit 665d5f51 authored by psy's avatar psy Committed by GitHub
Browse files

Merge pull request #14 from c3loc/credential_email

Improved the credential email text.
parents 4587216e 17f8b09d
Branches
No related tags found
No related merge requests found
......@@ -33,8 +33,10 @@ class User(UserMixin, db.Model):
return
# send login email
msg = Message('Ohai!', recipients=[self.login])
msg.body = 'Here is your login link: {}'.format(url_for('login_with_token', token=token, _external=True))
msg = Message('Your LOC transport tool credentials!', recipients=[self.login])
msg.body = ('Hi, na! \n\n'
'Thank you for helping us keeping an overview of your transports :) \n'
'Here is your login link: {}'.format(url_for('login_with_token', token=token, _external=True)))
mail.send(msg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment