Handle OAuth providers that return NULL for first or last name
commitbdd5a0de33bbfbb63aaeab7374fc160da7de0c80
authorMagnus Hagander <magnus@hagander.net>
Wed, 4 Jul 2018 17:40:34 +0000 (4 19:40 +0200)
committerMagnus Hagander <magnus@hagander.net>
Wed, 4 Jul 2018 17:41:26 +0000 (4 19:41 +0200)
tree762e1d7f68902800635417f378e96594b2341741
parentd25251aca4f3a8c13abff898309c21dd9dfd5726
Handle OAuth providers that return NULL for first or last name

We already handled those that returns empty, but it appears that at
least Microsoft can also return null/None. If those show up, just treat
them as empty.
pgweb/account/oauthclient.py