Skip to content

Commit

Permalink
Fix method invocation of send_verification_link
Browse files Browse the repository at this point in the history
The signature of send_verification_link was changed in a960b57.
However, the corresponding invocation of this method in the documented public API was left unchanged, which introduced a bug reported in foo290#68.
  • Loading branch information
sebastianhaas committed Nov 8, 2023
1 parent 725e77a commit cc6101e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion verify_email/email_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def resend_verification_link(self, request, email, **kwargs):

# These is supposed to be called outside of this module
def send_verification_email(request, form):
return _VerifyEmail().send_verification_link(request, form)
return _VerifyEmail().send_verification_link(request, form=form)


# These is supposed to be called outside of this module
Expand Down

0 comments on commit cc6101e

Please sign in to comment.