File manager - Edit - /usr/local/cpanel/whostmgr/docroot/templates/twofactorauth/views/disablePromptController.min.js
Back
define(["angular","jquery","cjt/util/locale","uiBootstrap"],(function(angular,$,LOCALE){var app=angular.module("App");var controller=app.controller("disablePromptController",["$scope","$uibModalInstance","users","mode",function($scope,$uibModalInstance,users,mode){var DCC=this;DCC.users=users;DCC.mode=mode;DCC.cancelDisable=function(){$uibModalInstance.close()};DCC.disableConfirmationMessage=function(){if(DCC.mode==="disableSelected"){if(DCC.users.length===1){return LOCALE.maketext("Are you sure you want to remove two-factor authentication for “[_1]”?",DCC.users[0].user_name)}else if(DCC.users.length>1){return LOCALE.maketext("Are you sure you want to remove two-factor authentication for [quant,_1,user,users]?",DCC.users.length)}}return LOCALE.maketext("Do you want to remove two-factor authentication for all users?")};DCC.disableTFAFor=function(){$uibModalInstance.close(DCC.users,DCC.mode)}}]);return controller}));
| ver. 1.4 |
Github
|
.
| PHP 8.1.34 | Generation time: 0.04 |
proxy
|
phpinfo
|
Settings