fixed bug when offline

This commit is contained in:
Tankred Hase 2013-04-19 20:47:30 +02:00
parent 4833169863
commit b2a8f2926f
1 changed files with 1 additions and 2 deletions

View File

@ -16,8 +16,7 @@ app.dao.EmailDAO = function(_, crypto, devicestorage, cloudstorage, naclCrypto,
// sync user's cloud key with local storage
cloudstorage.getUserSecretKey(account.get('emailAddress'), function(err) {
if (err) {
callback(err);
return;
console.log('Error syncing secret key to cloud: ' + err);
}
// init crypto
initCrypto();