Skip to content

Commit a4b2542

Browse files
committed
update requiremets in setup.py to jupyterhub>=1.3 where async is used
1 parent 3b7a44f commit a4b2542

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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 = data['username'].lower()
142142

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

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
author_email='[email protected]',
2020
license='3 Clause BSD',
2121
packages=find_packages(),
22-
install_requires=['bcrypt', 'jupyterhub>=0.8'],
22+
install_requires=['bcrypt', 'jupyterhub>=1.3'],
2323
package_data={
2424
'': ['*.html'],
2525
},

0 commit comments

Comments
 (0)