diff options
author | Azul <azul@leap.se> | 2014-01-07 09:34:27 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2014-01-07 09:34:27 +0100 |
commit | 74353fef4524e8418acf5dd854ff41d3a06beff0 (patch) | |
tree | 2d4930110bd656cad2b42e0198e372f20aab6697 /users/test/unit/account_test.rb | |
parent | 6b36baab9f82e022b09e6bdbe071860a8075badf (diff) |
only emit pgp keys if they are actually set
if doc.keys has not been set doc.keys[pgp] will raise an error.
We always upload the key after signup - but this might fail and there is some time in between. Not checking for this condition lead to errors in the couch logs.
Diffstat (limited to 'users/test/unit/account_test.rb')
0 files changed, 0 insertions, 0 deletions