add missing parameter to call of validate_user()

This commit is contained in:
Steffen Vogel 2018-11-03 08:38:12 +01:00
parent c1c4ce8e94
commit 3623a55c78
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class FirstUseAuthenticator(Authenticator):
invalid_chars = [',', ' ']
if any((char in name) for char in invalid_chars):
return False
return super().validate_username()
return super().validate_username(name)
@gen.coroutine
def authenticate(self, handler, data):