Don't crash when oauth provider does not include state
authorMagnus Hagander <magnus@hagander.net>
Thu, 31 Aug 2017 07:36:29 +0000 (09:36 +0200)
committerMagnus Hagander <magnus@hagander.net>
Thu, 31 Aug 2017 07:37:28 +0000 (09:37 +0200)
commitc28b14e8411e2e593f280b2c80b6df715b52f415
tree010dfff20215574d056e0a9f83af708f6d95142d
parent051c76e5b865876338be581af90af2b14555d9c6
Don't crash when oauth provider does not include state

This should normally never happen, and should cause an error. But it
should cause an error saying "invalid state received", not an error
saying kaboom.
pgweb/account/oauthclient.py