mirror of
http://git.whoc.org.uk/git/password-manager.git
synced 2025-10-25 17:47:34 +02:00
Fixed OTP Handling in Dev backend: all test are passing
This commit is contained in:
@@ -152,9 +152,8 @@ Clipperz.Base.extend(Clipperz.PM.DataModel.User.Header.OneTimePasswords, Clipper
|
||||
newOneTimePassword = Clipperz.PM.DataModel.OneTimePassword.createNewOneTimePassword(aUsername, aPassphraseCallback);
|
||||
|
||||
// TODO: this is deferred --> change everything to deferred
|
||||
// TestData include 'created' and 'status'
|
||||
// TODO: TestData include 'created' and 'status': check if status is necessary
|
||||
this.setValue(newOneTimePassword.reference(), {
|
||||
// 'created': newOneTimePassword.creationDate().toString(), // won't work: creation date is no more stored in OTP
|
||||
'password': newOneTimePassword.password(),
|
||||
'label': newOneTimePassword.label()
|
||||
// 'status': newOneTimePassword.status()
|
||||
|
||||
Reference in New Issue
Block a user