Don't crash when migrating users with blank name
authorMagnus Hagander <magnus@hagander.net>
Thu, 8 Dec 2011 18:43:47 +0000 (19:43 +0100)
committerMagnus Hagander <magnus@hagander.net>
Thu, 8 Dec 2011 18:43:47 +0000 (19:43 +0100)
commit580c85b0592977cb21e549e0dc6b9fde808d1f9a
treefcbdd1ff746dafe12939085e02e7076bf26e24fb
parent38bad00e6376cfd6c38909d2b0c02d8d00fb9409
Don't crash when migrating users with blank name

Some users are registered with just a username and no actual name. The
old way only dealt with users with just first or last name - not the
ones completely without name.
pgweb/util/auth.py