send_verification_email was moved to auth/tools
authorRodney Ewing <ewing.rj@gmail.com>
Wed, 29 May 2013 20:19:36 +0000 (13:19 -0700)
committerRodney Ewing <ewing.rj@gmail.com>
Wed, 29 May 2013 20:19:36 +0000 (13:19 -0700)
mediagoblin/edit/views.py

index 4c4e5131f79a08de7c885149c5cce27562f1007c..df7db21bab7685b4c5ad06d465e84901670f16d4 100644 (file)
@@ -24,6 +24,7 @@ from mediagoblin import messages
 from mediagoblin import mg_globals
 
 from mediagoblin.auth import lib as auth_lib
+from mediagoblin.auth import tools as auth_tools
 from mediagoblin.auth.views import email_debug_message
 from mediagoblin.edit import forms
 from mediagoblin.edit.lib import may_edit_media
@@ -265,7 +266,7 @@ def edit_account(request):
                             verification_key=verification_key)})
 
                     email_debug_message(request)
-                    auth_lib.send_verification_email(user, request, new_email,
+                    auth_tools.send_verification_email(user, request, new_email,
                                                      rendered_email)
 
         if not form.errors: