mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +03:00
More scrict rules
This commit is contained in:
parent
71b6407d61
commit
fb2e492ce8
30 changed files with 126 additions and 89 deletions
|
|
@ -91,10 +91,9 @@ function TwoFactorConfigurationPopupView()
|
|||
|
||||
this.viewTwoFactorStatus = ko.computed(function() {
|
||||
Translator.trigger();
|
||||
return Translator.i18n(
|
||||
this.twoFactorStatus() ?
|
||||
'POPUPS_TWO_FACTOR_CFG/TWO_FACTOR_SECRET_CONFIGURED_DESC' :
|
||||
'POPUPS_TWO_FACTOR_CFG/TWO_FACTOR_SECRET_NOT_CONFIGURED_DESC'
|
||||
return Translator.i18n(this.twoFactorStatus() ?
|
||||
'POPUPS_TWO_FACTOR_CFG/TWO_FACTOR_SECRET_CONFIGURED_DESC' :
|
||||
'POPUPS_TWO_FACTOR_CFG/TWO_FACTOR_SECRET_NOT_CONFIGURED_DESC'
|
||||
);
|
||||
}, this);
|
||||
|
||||
|
|
@ -111,7 +110,6 @@ function TwoFactorConfigurationPopupView()
|
|||
kn.extendAsViewModel(['View/Popup/TwoFactorConfiguration', 'TwoFactorConfigurationPopupView'], TwoFactorConfigurationPopupView);
|
||||
_.extend(TwoFactorConfigurationPopupView.prototype, AbstractView.prototype);
|
||||
|
||||
|
||||
TwoFactorConfigurationPopupView.prototype.showSecret = function()
|
||||
{
|
||||
this.secreting(true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue