delete old totp fields

This commit is contained in:
antelle 2016-04-03 13:54:51 +03:00
parent af38103a71
commit 8e4e2993f0
1 changed files with 2 additions and 0 deletions

View File

@ -435,6 +435,8 @@ var EntryModel = Backbone.Model.extend({
setOtpUrl: function(url) {
this.setField('otp', kdbxweb.ProtectedValue.fromString(url));
delete this.entry.fields['TOTP Seed'];
delete this.entry.fields['TOTP Settings'];
}
});