From 3e373e67c3f65ebc169b98a13615aa5a572ab92f Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 28 Mar 2020 13:56:23 +1100 Subject: [PATCH] docs: Fix simple typo, existung -> existing There is a small typo in flask_security/forms.py. Should read `existing` rather than `existung`. --- flask_security/forms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flask_security/forms.py b/flask_security/forms.py index 5e974ac0..b132cb87 100644 --- a/flask_security/forms.py +++ b/flask_security/forms.py @@ -233,12 +233,12 @@ def validate(self): if self.user is None: self.email.errors.append(get_message('USER_DOES_NOT_EXIST')[0]) - # Reduce timing variation between existing and non-existung users + # Reduce timing variation between existing and non-existing users hash_password(self.password.data) return False if not self.user.password: self.password.errors.append(get_message('PASSWORD_NOT_SET')[0]) - # Reduce timing variation between existing and non-existung users + # Reduce timing variation between existing and non-existing users hash_password(self.password.data) return False if not self.user.verify_and_update_password(self.password.data):