Skip to content

Commit 04d11f8

Browse files
committed
Don't need to handle authentication=None
it's always given and always a dict
1 parent 696edf9 commit 04d11f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauthenticator/globus.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ async def check_allowed(self, username, auth_model):
309309
# users should be explicitly allowed via config, otherwise they aren't
310310
return False
311311

312-
async def check_blocked_users(self, username, authentication=None):
312+
async def check_blocked_users(self, username, authentication):
313313
"""Check if the user should be blocked
314314
315315
Called _before_ checking if the user should be allowed

0 commit comments

Comments
 (0)