From 5158cf93db6cac3860d8516b2e0e4c5c12f5f8b0 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Tue, 2 Oct 2018 07:29:32 +0000 Subject: [PATCH] spelling: using --- app/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models.py b/app/models.py index 2f14190..3b69029 100644 --- a/app/models.py +++ b/app/models.py @@ -102,7 +102,7 @@ class User(db.Model): return bcrypt.hashpw(pw.encode('utf-8'), bcrypt.gensalt()) def check_password(self, hashed_password): - # Check hased password. Useing bcrypt, the salt is saved into the hash itself + # Check hased password. Using bcrypt, the salt is saved into the hash itself if (self.plain_text_password): return bcrypt.checkpw(self.plain_text_password.encode('utf-8'), hashed_password.encode('utf-8')) return False