Don't require first and last name fields in OAuth signup
commita2149fa6fb12eea1e41c114bac1022447362ef2d
authorMagnus Hagander <magnus@hagander.net>
Mon, 18 Sep 2017 16:32:49 +0000 (18 18:32 +0200)
committerMagnus Hagander <magnus@hagander.net>
Mon, 18 Sep 2017 16:32:49 +0000 (18 18:32 +0200)
tree5f5abb89653644053ceb41e2a2de4a156400faf3
parentc0e4ef42ba3357e11267b467d43ba37e7862e3cf
Don't require first and last name fields in OAuth signup

I had fixed the OAuth process to deal with this case, but failed to
cover the actual new account creation part which still required it. With
this fix, we allow a signup without a name. If the user wishes to set a
full name on the account it can be done on the profile page for the
user, but it's possible to proceed to access restricted resources
without doing it.

Reported by @Smylers2 on twitter, relayed by @TokenScandi
pgweb/account/forms.py