diff --git a/transporte/models.py b/transporte/models.py index 83c67ab171bdab741d965e951f6c9c3a2dda467e..406c7a3bd7521182cf320d384a3c6567b42b589d 100644 --- a/transporte/models.py +++ b/transporte/models.py @@ -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) @@ -91,4 +93,4 @@ class File(db.Model): path = db.Column(db.String(256), nullable=False) def __repr__(self): - return '<File {}>'.format(self.path) \ No newline at end of file + return '<File {}>'.format(self.path)