Fixed failed login handling

This commit is contained in:
Giulio Cesare Solaroli 2015-07-01 06:43:37 +02:00
parent d9ef3741ba
commit 236437ba26

View File

@ -338,7 +338,7 @@ Clipperz.Base.extend(Clipperz.PM.DataModel.User, Object, {
], []));
deferredResult.addBoth(MochiKit.Base.method(this, 'loginWithPassphrase'));
deferredResult.addBoth(MochiKit.Base.method(this, 'resetUsedOTP'));
deferredResult.addBothPass(MochiKit.Base.method(this, 'resetUsedOTP'));
deferredResult.callback();