mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Fix argument
This commit is contained in:
@@ -126,7 +126,7 @@ class ForgotPasswordForm(Form):
|
|||||||
|
|
||||||
def __init__(self, q, *args, **kwargs):
|
def __init__(self, q, *args, **kwargs):
|
||||||
self.query_function = q
|
self.query_function = q
|
||||||
super(ForgotPasswordForm, self).__init__(*args, *kwargs)
|
super(ForgotPasswordForm, self).__init__(*args, **kwargs)
|
||||||
|
|
||||||
def validate_email_address(self, a):
|
def validate_email_address(self, a):
|
||||||
if not self.query_function(a.data):
|
if not self.query_function(a.data):
|
||||||
|
|||||||
Reference in New Issue
Block a user