Skip to content

Commit df1eceb

Browse files
committed
fixup! add send reset email button to user edit page
1 parent a16fa39 commit df1eceb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

crowdsourcer/volunteers.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,9 @@ def check_bulk_assignments(df, rt, ms, num_assignments, always_assign=False):
8181
return errors
8282

8383

84-
def send_registration_email(user, server_name, cobrand=None):
84+
def send_registration_email(user, server_name):
8585
subject_template = "registration/initial_password_email_subject.txt"
8686
email_template = "registration/initial_password_email.html"
87-
if cobrand is not None:
88-
subject_template = f"registration/{cobrand}/initial_password_email_subject.txt"
89-
email_template = f"registration/{cobrand}/initial_password_email.html"
9087

9188
if user.email:
9289
form = PasswordResetForm({"email": user.email})

0 commit comments

Comments
 (0)