Skip to content

Commit d36ac97

Browse files
authored
Merge pull request #38 from georgejhunt/lower
normalize username to lock password
2 parents ab63614 + 9e200d9 commit d36ac97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

firstuseauthenticator/firstuseauthenticator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ def validate_username(self, name):
138138

139139
@gen.coroutine
140140
def authenticate(self, handler, data):
141-
username = data['username']
141+
username = self.normalize_username(data['username'])
142142

143143
if not self.create_users:
144144
if not self._user_exists(username):

0 commit comments

Comments
 (0)