Files
jupyterhub/jupyterhub/handlers
Matthias Bussonnier e4541591ea Do not 500 if cannot authenticate.
self.authenticate can return None, in which case you can't subscript.
So move extracting data into the branch checking whether authenticate is
not `None`.

Now that extracting the username is inside the if branch, it can't be
used in the else one, so extract username from the request itself.

This can be easily reproduce with the default PAM login with a wrong
non existing/ wrong username.
2017-07-21 15:40:28 -07:00
..
2014-09-14 16:47:10 -07:00
2017-07-20 11:58:50 +02:00
2017-07-21 15:40:28 -07:00
2016-02-09 15:38:34 +01:00