Skip to content

Commit

Permalink
Flask: Increase password field size
Browse files Browse the repository at this point in the history
The password field was tested up to 70 chars, so a precaution of 100 chars is selected
  • Loading branch information
nadavge committed Sep 28, 2015
1 parent e22b7cc commit 8030949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask/notejam/models.py
Expand Up @@ -10,7 +10,7 @@
class User(db.Model, UserMixin):
id = db.Column(db.Integer, primary_key=True)
email = db.Column(db.String(120), unique=True)
password = db.Column(db.String(36))
password = db.Column(db.String(100))

@staticmethod
def authenticate(email, password):
Expand Down

0 comments on commit 8030949

Please sign in to comment.