Give better error message when restricting information in oauth login
authorMagnus Hagander <magnus@hagander.net>
Mon, 28 Aug 2017 15:16:26 +0000 (17:16 +0200)
committerMagnus Hagander <magnus@hagander.net>
Mon, 28 Aug 2017 15:16:26 +0000 (17:16 +0200)
commitd0f226a06dfcbe69705868a595f57bfb436bee1b
tree579d57aa91aee711a740916d8fe8565e762d07f7
parent76ce07bb6e35a7e986ca0fc88866a98a35732874
Give better error message when restricting information in oauth login

We need access to email, firstname and lastname, which is also what we
ask for. If the user forcibly restricts access to that, give a
reasonable error message instead of crashing.
pgweb/account/oauthclient.py