Trap all kinsd of base64 decoding errors when saving crypt keys
authorMagnus Hagander <magnus@hagander.net>
Fri, 30 Apr 2021 09:46:14 +0000 (11:46 +0200)
committerMagnus Hagander <magnus@hagander.net>
Fri, 30 Apr 2021 09:46:58 +0000 (11:46 +0200)
commit08fcc2ce781e1ddb3d96eeceb13bd9846f7a03c5
treea892b16b773a59d54c3f4468bf63db8b2182cc11
parent4babc316ec79bd71506ee9e3cf9b512cc1f32a61
Trap all kinsd of base64 decoding errors when saving crypt keys

This could lead to an ugly error with certain types of incorrect crypt
keys when editing in the /admin/ interface.
pgweb/account/admin.py