Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a few mail errors

  • Loading branch information...
commit 29229a240fa0ce0594462da13469dbdb30bab5b5 1 parent c5d9612
@opatut opatut authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  flamejam/mail.py
  2. +1 −1  flamejam/views.py
View
2  flamejam/mail.py
@@ -1,4 +1,4 @@
-from flamejam import app
+from flamejam import app, mail
from flamejam.models import Participant
from flask.ext.mail import Message
from flask import render_template
View
2  flamejam/views.py
@@ -101,7 +101,7 @@ def reset_request():
participant.token = randint(0, sys.maxint)
db.session.commit()
- m = Mail("Welcome to Bacon Game Jam, " + participant.username)
+ m = Mail("Reset your BGJ-Password")
m.addRecipients(participant.email)
m.render("emails/reset_password.html", recipient = participant)
m.send()

0 comments on commit 29229a2

Please sign in to comment.
Something went wrong with that request. Please try again.