This commit is contained in:
Matt Wright
2012-08-14 16:37:56 -04:00
parent 4daefcf1f7
commit f3dff9e496
2 changed files with 1 additions and 7 deletions
+1 -3
View File
@@ -15,7 +15,7 @@ from itsdangerous import BadSignature, SignatureExpired
from flask import current_app as app, request, url_for
from werkzeug.local import LocalProxy
from .exceptions import UserNotFoundError, ConfirmationError
from .exceptions import ConfirmationError
from .utils import send_mail, get_max_age, md5, get_message
from .signals import user_confirmed, confirm_instructions_sent
@@ -42,8 +42,6 @@ def send_confirmation_instructions(user, token):
confirm_instructions_sent.send(user, app=app._get_current_object())
return True
def generate_confirmation_token(user):
"""Generates a unique confirmation token for the specified user.
-4
View File
@@ -43,8 +43,6 @@ def send_reset_password_instructions(user, reset_token):
reset_instructions_sent.send(dict(user=user, token=reset_token),
app=app._get_current_object())
return True
def send_password_reset_notice(user):
"""Sends the password reset notice email for the specified user.
@@ -121,5 +119,3 @@ def reset_password_reset_token(user):
password_reset_requested.send(dict(user=user, token=token),
app=app._get_current_object())
return token