Fix versions

increase-RDBI-perf
Yadd 4 years ago
parent 611969cf30
commit 83b45db614
  1. 2
      _example/conf/lmConf-1.json
  2. 2
      lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf.pm
  3. 2
      lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/Backends/RDBI.pm
  4. 2
      lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/Backends/_DBI.pm
  5. 2
      lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/RESTServer.pm
  6. 2
      lemonldap-ng-common/lib/Lemonldap/NG/Common/Conf/Serializer.pm
  7. 2
      lemonldap-ng-common/lib/Lemonldap/NG/Common/JWT.pm
  8. 2
      lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Lib/OAuth2.pm
  9. 2
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Api/Common.pm
  10. 2
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Api/Providers/OidcRp.pm
  11. 2
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/CTrees.pm
  12. 2
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Build/Tree.pm
  13. 2
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf.pm
  14. 2
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Parser.pm
  15. 2
      lemonldap-ng-manager/lib/Lemonldap/NG/Manager/Conf/Zero.pm
  16. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/2F/Mail2F.pm
  17. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/2F/Register/TOTP.pm
  18. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/2F/Register/U2F.pm
  19. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/2F/U2F.pm
  20. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/SAML.pm
  21. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Issuer/OpenIDConnect.pm
  22. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/Choice.pm
  23. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/LDAP.pm
  24. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/OneTimeToken.pm
  25. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/OpenIDConnect.pm
  26. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/SAML.pm
  27. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/SMTP.pm
  28. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/U2F.pm
  29. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Lib/_tokenRule.pm
  30. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Init.pm
  31. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Issuer.pm
  32. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Plugin.pm
  33. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Main/Process.pm
  34. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/BruteForceProtection.pm
  35. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/CertificateResetByMail.pm
  36. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/GrantSession.pm
  37. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/MailPasswordReset.pm
  38. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/Register.pm
  39. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/SingleSession.pm
  40. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/StayConnected.pm
  41. 2
      lemonldap-ng-portal/site/htdocs/static/common/js/totpregistration.min.js
  42. 2
      lemonldap-ng-portal/site/htdocs/static/common/js/totpregistration.min.js.map

@ -86,7 +86,7 @@
"authentication" : "Demo", "authentication" : "Demo",
"cfgAuthor" : "The LemonLDAP::NG team", "cfgAuthor" : "The LemonLDAP::NG team",
"cfgNum" : 1, "cfgNum" : 1,
"cfgVersion" : "2.0.9", "cfgVersion" : "2.0.12",
"cookieName" : "lemonldap", "cookieName" : "lemonldap",
"demoExportedVars" : { "demoExportedVars" : {
"cn" : "cn", "cn" : "cn",

@ -27,7 +27,7 @@ use Config::IniFiles;
#inherits Lemonldap::NG::Common::Conf::Backends::SOAP #inherits Lemonldap::NG::Common::Conf::Backends::SOAP
#inherits Lemonldap::NG::Common::Conf::Backends::LDAP #inherits Lemonldap::NG::Common::Conf::Backends::LDAP
our $VERSION = '2.0.9'; our $VERSION = '2.0.12';
our $msg = ''; our $msg = '';
our $iniObj; our $iniObj;

@ -5,7 +5,7 @@ use utf8;
use Lemonldap::NG::Common::Conf::Serializer; use Lemonldap::NG::Common::Conf::Serializer;
use Lemonldap::NG::Common::Conf::Backends::_DBI; use Lemonldap::NG::Common::Conf::Backends::_DBI;
our $VERSION = '2.0.0'; our $VERSION = '2.0.12';
our @ISA = qw(Lemonldap::NG::Common::Conf::Backends::_DBI); our @ISA = qw(Lemonldap::NG::Common::Conf::Backends::_DBI);
sub store { sub store {

@ -5,7 +5,7 @@ use utf8;
use DBI; use DBI;
use Lemonldap::NG::Common::Conf::Constants; #inherits use Lemonldap::NG::Common::Conf::Constants; #inherits
our $VERSION = '2.0.0'; our $VERSION = '2.0.12';
our @ISA = qw(Lemonldap::NG::Common::Conf::Constants); our @ISA = qw(Lemonldap::NG::Common::Conf::Constants);
our ( @EXPORT, %EXPORT_TAGS ); our ( @EXPORT, %EXPORT_TAGS );

@ -6,7 +6,7 @@ use Mouse;
use Lemonldap::NG::Common::Conf::Constants; use Lemonldap::NG::Common::Conf::Constants;
use Lemonldap::NG::Common::Conf::ReConstants; use Lemonldap::NG::Common::Conf::ReConstants;
our $VERSION = '2.0.9'; our $VERSION = '2.0.12';
extends 'Lemonldap::NG::Common::Conf::AccessLib'; extends 'Lemonldap::NG::Common::Conf::AccessLib';

@ -6,7 +6,7 @@ use Encode;
use JSON; use JSON;
use Lemonldap::NG::Common::Conf::Constants; use Lemonldap::NG::Common::Conf::Constants;
our $VERSION = '2.0.0'; our $VERSION = '2.0.12';
BEGIN { BEGIN {
*Lemonldap::NG::Common::Conf::normalize = \&normalize; *Lemonldap::NG::Common::Conf::normalize = \&normalize;

@ -8,6 +8,8 @@ our @EXPORT_OK =
use JSON; use JSON;
use MIME::Base64 qw/encode_base64 decode_base64/; use MIME::Base64 qw/encode_base64 decode_base64/;
our $VERSION = '2.0.12';
# Gets the Access Token session ID embedded in a LLNG-emitted JWT # Gets the Access Token session ID embedded in a LLNG-emitted JWT
sub getAccessTokenSessionId { sub getAccessTokenSessionId {
my ($access_token) = @_; my ($access_token) = @_;

@ -3,7 +3,7 @@ use Lemonldap::NG::Common::JWT qw(getAccessTokenSessionId);
use strict; use strict;
our $VERSION = '2.0.8'; our $VERSION = '2.0.12';
sub retrieveSession { sub retrieveSession {
my ( $class, $req, $id ) = @_; my ( $class, $req, $id ) = @_;

@ -1,6 +1,6 @@
package Lemonldap::NG::Manager::Api::Common; package Lemonldap::NG::Manager::Api::Common;
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
package Lemonldap::NG::Manager::Api; package Lemonldap::NG::Manager::Api;

@ -1,6 +1,6 @@
package Lemonldap::NG::Manager::Api::Providers::OidcRp; package Lemonldap::NG::Manager::Api::Providers::OidcRp;
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
package Lemonldap::NG::Manager::Api; package Lemonldap::NG::Manager::Api;

@ -14,7 +14,7 @@
package Lemonldap::NG::Manager::Build::CTrees; package Lemonldap::NG::Manager::Build::CTrees;
our $VERSION = '2.0.8'; our $VERSION = '2.0.12';
sub cTrees { sub cTrees {
return { return {

@ -17,7 +17,7 @@
package Lemonldap::NG::Manager::Build::Tree; package Lemonldap::NG::Manager::Build::Tree;
our $VERSION = '2.0.11'; our $VERSION = '2.0.12';
# TODO: Missing: # TODO: Missing:
# * activeTimer # * activeTimer

@ -24,7 +24,7 @@ extends qw(
Lemonldap::NG::Common::Conf::RESTServer Lemonldap::NG::Common::Conf::RESTServer
); );
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
############################# #############################
# I. INITIALIZATION METHODS # # I. INITIALIZATION METHODS #

@ -26,7 +26,7 @@ use JSON 'to_json';
use Lemonldap::NG::Common::Conf::ReConstants; use Lemonldap::NG::Common::Conf::ReConstants;
use Lemonldap::NG::Manager::Attributes; use Lemonldap::NG::Manager::Attributes;
our $VERSION = '2.0.9'; our $VERSION = '2.0.12';
extends 'Lemonldap::NG::Common::Conf::Compact'; extends 'Lemonldap::NG::Common::Conf::Compact';

@ -2,7 +2,7 @@ package Lemonldap::NG::Manager::Conf::Zero;
use strict; use strict;
our $VERSION = '2.0.9'; our $VERSION = '2.0.12';
sub zeroConf { sub zeroConf {
my ( $domain, $sessionDir, $persistentSessionDir, $notificationDir, $cacheDir ) = @_; my ( $domain, $sessionDir, $persistentSessionDir, $notificationDir, $cacheDir ) = @_;

@ -11,7 +11,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_MUSTHAVEMAIL PE_MUSTHAVEMAIL
); );
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
extends qw( extends qw(
Lemonldap::NG::Portal::Main::SecondFactor Lemonldap::NG::Portal::Main::SecondFactor

@ -5,7 +5,7 @@ use strict;
use Mouse; use Mouse;
use JSON qw(from_json to_json); use JSON qw(from_json to_json);
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
extends qw( extends qw(
Lemonldap::NG::Portal::Main::Plugin Lemonldap::NG::Portal::Main::Plugin

@ -6,7 +6,7 @@ use Mouse;
use JSON qw(from_json to_json); use JSON qw(from_json to_json);
use MIME::Base64 qw(encode_base64url decode_base64url); use MIME::Base64 qw(encode_base64url decode_base64url);
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
extends qw( extends qw(
Lemonldap::NG::Portal::Main::Plugin Lemonldap::NG::Portal::Main::Plugin

@ -16,7 +16,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_BADCREDENTIALS PE_BADCREDENTIALS
); );
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
extends qw( extends qw(
Lemonldap::NG::Portal::Main::SecondFactor Lemonldap::NG::Portal::Main::SecondFactor

@ -24,7 +24,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_SENDRESPONSE PE_SENDRESPONSE
); );
our $VERSION = '2.0.9'; our $VERSION = '2.0.12';
extends qw( extends qw(
Lemonldap::NG::Portal::Main::Auth Lemonldap::NG::Portal::Main::Auth

@ -20,7 +20,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
); );
use String::Random qw/random_string/; use String::Random qw/random_string/;
our $VERSION = '2.0.11'; our $VERSION = '2.0.12';
extends qw( extends qw(
Lemonldap::NG::Portal::Main::Issuer Lemonldap::NG::Portal::Main::Issuer

@ -7,7 +7,7 @@ use Safe;
extends 'Lemonldap::NG::Portal::Lib::Wrapper'; extends 'Lemonldap::NG::Portal::Lib::Wrapper';
with 'Lemonldap::NG::Portal::Lib::OverConf'; with 'Lemonldap::NG::Portal::Lib::OverConf';
our $VERSION = '2.0.11'; our $VERSION = '2.0.12';
has modules => ( is => 'rw', default => sub { {} } ); has modules => ( is => 'rw', default => sub { {} } );
has rules => ( is => 'rw', default => sub { {} } ); has rules => ( is => 'rw', default => sub { {} } );

@ -13,7 +13,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
extends 'Lemonldap::NG::Common::Module'; extends 'Lemonldap::NG::Common::Module';
our $VERSION = '2.0.11'; our $VERSION = '2.0.12';
# PROPERTIES # PROPERTIES

@ -5,7 +5,7 @@ use Mouse;
use JSON qw(from_json to_json); use JSON qw(from_json to_json);
use Crypt::URandom; use Crypt::URandom;
our $VERSION = '2.0.6'; our $VERSION = '2.0.12';
extends 'Lemonldap::NG::Common::Module'; extends 'Lemonldap::NG::Common::Module';

@ -22,7 +22,7 @@ use Mouse;
use Lemonldap::NG::Portal::Main::Constants qw(PE_OK PE_REDIRECT); use Lemonldap::NG::Portal::Main::Constants qw(PE_OK PE_REDIRECT);
our $VERSION = '2.0.11'; our $VERSION = '2.0.12';
# OpenID Connect standard claims # OpenID Connect standard claims
use constant PROFILE => [ use constant PROFILE => [

@ -21,7 +21,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_SAML_SLO_ERROR PE_SAML_SLO_ERROR
); );
our $VERSION = '2.0.9'; our $VERSION = '2.0.12';
# PROPERTIES # PROPERTIES

@ -15,7 +15,7 @@ use Lemonldap::NG::Common::EmailTransport;
use MIME::Base64; use MIME::Base64;
use Encode; use Encode;
our $VERSION = '2.0.9'; our $VERSION = '2.0.12';
our $transport; our $transport;

@ -3,7 +3,7 @@ package Lemonldap::NG::Portal::Lib::U2F;
use strict; use strict;
use Mouse; use Mouse;
our $VERSION = '2.0.0'; our $VERSION = '2.0.12';
has origin => ( is => 'rw', ); has origin => ( is => 'rw', );

@ -3,7 +3,7 @@ package Lemonldap::NG::Portal::Lib::_tokenRule;
use strict; use strict;
use Mouse; use Mouse;
our $VERSION = '2.0.3'; our $VERSION = '2.0.12';
has ottRule => ( has ottRule => (
is => 'rw', is => 'rw',

@ -8,7 +8,7 @@
# of lemonldap-ng.ini) and underlying handler configuration # of lemonldap-ng.ini) and underlying handler configuration
package Lemonldap::NG::Portal::Main::Init; package Lemonldap::NG::Portal::Main::Init;
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
package Lemonldap::NG::Portal::Main; package Lemonldap::NG::Portal::Main;

@ -22,7 +22,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
extends 'Lemonldap::NG::Portal::Main::Plugin'; extends 'Lemonldap::NG::Portal::Main::Plugin';
our $VERSION = '2.0.9'; our $VERSION = '2.0.12';
# PROPERTIES # PROPERTIES

@ -11,7 +11,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_ERROR PE_ERROR
); );
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
extends 'Lemonldap::NG::Common::Module'; extends 'Lemonldap::NG::Common::Module';

@ -1,6 +1,6 @@
package Lemonldap::NG::Portal::Main::Process; package Lemonldap::NG::Portal::Main::Process;
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
package Lemonldap::NG::Portal::Main; package Lemonldap::NG::Portal::Main;

@ -7,7 +7,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_WAIT PE_WAIT
); );
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
extends 'Lemonldap::NG::Portal::Main::Plugin'; extends 'Lemonldap::NG::Portal::Main::Plugin';

@ -31,7 +31,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_MAILCONFIRMATION_ALREADY_SENT PE_MAILCONFIRMATION_ALREADY_SENT
); );
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
extends qw( extends qw(
Lemonldap::NG::Portal::Lib::SMTP Lemonldap::NG::Portal::Lib::SMTP

@ -8,7 +8,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_SESSIONNOTGRANTED PE_SESSIONNOTGRANTED
); );
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
extends 'Lemonldap::NG::Portal::Main::Plugin'; extends 'Lemonldap::NG::Portal::Main::Plugin';

@ -32,7 +32,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_PP_INSUFFICIENT_PASSWORD_QUALITY PE_PP_INSUFFICIENT_PASSWORD_QUALITY
); );
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
extends qw( extends qw(
Lemonldap::NG::Portal::Lib::SMTP Lemonldap::NG::Portal::Lib::SMTP

@ -22,7 +22,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_MAILCONFIRMATION_ALREADY_SENT PE_MAILCONFIRMATION_ALREADY_SENT
); );
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
extends qw( extends qw(
Lemonldap::NG::Portal::Lib::SMTP Lemonldap::NG::Portal::Lib::SMTP

@ -11,7 +11,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_TOKENEXPIRED PE_TOKENEXPIRED
); );
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
extends qw( extends qw(
Lemonldap::NG::Portal::Main::Plugin Lemonldap::NG::Portal::Main::Plugin

@ -9,7 +9,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_SENDRESPONSE PE_SENDRESPONSE
); );
our $VERSION = '2.0.10'; our $VERSION = '2.0.12';
extends 'Lemonldap::NG::Portal::Main::Plugin'; extends 'Lemonldap::NG::Portal::Main::Plugin';

@ -1 +1 @@
(function(){var r,e,s,o,t;s=function(e,r){return $("#msg").attr("trspan",e),$("#msg").html(window.translate(e)),$("#color").removeClass("message-positive message-warning message-danger alert-success alert-warning alert-danger"),$("#color").addClass("message-"+r),"positive"===r&&(r="success"),$("#color").addClass("alert-"+r)},r=function(e,r,t){var o;if(console.log("Error",t),(o=JSON.parse(e.responseText))&&o.error)return o=o.error.replace(/.* /,""),console.log("Returned error",o),s(o,"warning")},o="",e=function(){return s("yourTotpKey","warning"),$.ajax({type:"POST",url:portal+"/2fregisters/totp/getkey",dataType:"json",error:r,success:function(e){var r,t;return e.error?(e.error.match(/totpExistingKey/)&&$("#divToHide").hide(),s(e.error,"warning")):e.portal&&e.user&&e.secret?($("#divToHide").show(),r="otpauth://totp/"+escape(e.portal)+":"+escape(e.user)+"?secret="+e.secret+"&issuer="+escape(e.portal),6!==e.digits&&(r+="&digits="+e.digits),30!==e.interval&&(r+="&period="+e.interval),new QRious({element:document.getElementById("qr"),value:r,size:150}),t=e.secret||"",$("#secret").text(t.toUpperCase().replace(/(.{4})/g,"$1 ").trim()),e.newkey?s("yourNewTotpKey","warning"):s("yourTotpKey","success"),o=e.token):s("PE24","danger")}})},t=function(){var e;return(e=$("#code").val())?$.ajax({type:"POST",url:portal+"/2fregisters/totp/verify",dataType:"json",data:{token:o,code:e,TOTPName:$("#TOTPName").val()},error:r,success:function(e){return e.error?e.error.match(/bad(Code|Name)/)?s(e.error,"warning"):s(e.error,"danger"):s("yourKeyIsRegistered","success")}}):(s("totpMissingCode","warning"),$("#code").focus())},$(document).ready(function(){return e(),$("#verify").on("click",function(){return t()})})}).call(this); !function(){var o=function(e,r){return $("#msg").attr("trspan",e),$("#msg").html(window.translate(e)),$("#color").removeClass("message-positive message-warning message-danger alert-success alert-warning alert-danger"),$("#color").addClass("message-"+r),"positive"===r&&(r="success"),$("#color").addClass("alert-"+r)},r=function(e,r,t){if(console.log("Error",t),(e=JSON.parse(e.responseText))&&e.error)return e=e.error.replace(/.* /,""),console.log("Returned error",e),o(e,"warning")},t="",e=function(){return o("yourTotpKey","warning"),$.ajax({type:"POST",url:portal+"/2fregisters/totp/getkey",dataType:"json",error:r,success:function(e){var r;return e.error?(e.error.match(/totpExistingKey/)&&$("#divToHide").hide(),o(e.error,"warning")):e.portal&&e.user&&e.secret?($("#divToHide").show(),r="otpauth://totp/"+escape(e.portal)+":"+escape(e.user)+"?secret="+e.secret+"&issuer="+escape(e.portal),6!==e.digits&&(r+="&digits="+e.digits),30!==e.interval&&(r+="&period="+e.interval),new QRious({element:document.getElementById("qr"),value:r,size:150}),r=e.secret||"",$("#secret").text(r.toUpperCase().replace(/(.{4})/g,"$1 ").trim()),e.newkey?o("yourNewTotpKey","warning"):o("yourTotpKey","success"),t=e.token):o("PE24","danger")}})},s=function(){var e=$("#code").val();return e?$.ajax({type:"POST",url:portal+"/2fregisters/totp/verify",dataType:"json",data:{token:t,code:e,TOTPName:$("#TOTPName").val()},error:r,success:function(e){return e.error?e.error.match(/bad(Code|Name)/)?o(e.error,"warning"):o(e.error,"danger"):o("yourKeyIsRegistered","success")}}):(o("totpMissingCode","warning"),$("#code").focus())};$(document).ready(function(){return e(),$("#verify").on("click",s)})}.call(this);

@ -1 +1 @@
{"version":3,"sources":["totpregistration.js"],"names":["displayError","getKey","setMsg","token","verify","msg","level","$","attr","html","window","translate","removeClass","addClass","j","status","err","res","console","log","JSON","parse","responseText","error","replace","ajax","type","url","portal","dataType","success","data","s","secret","match","hide","user","show","escape","digits","interval","QRious","element","document","getElementById","value","size","text","toUpperCase","trim","newkey","val","code","TOTPName","focus","ready","on","call","this"],"mappings":"CAMA,WACE,IAAIA,EAAcC,EAAQC,EAAQC,EAAOC,EAEzCF,EAAS,SAASG,EAAKC,GAQrB,OAPAC,EAAE,QAAQC,KAAK,SAAUH,GACzBE,EAAE,QAAQE,KAAKC,OAAOC,UAAUN,IAChCE,EAAE,UAAUK,YAAY,4FACxBL,EAAE,UAAUM,SAAS,WAAaP,GACpB,aAAVA,IACFA,EAAQ,WAEHC,EAAE,UAAUM,SAAS,SAAWP,IAGzCN,EAAe,SAASc,EAAGC,EAAQC,GACjC,IAAIC,EAGJ,GAFAC,QAAQC,IAAI,QAASH,IACrBC,EAAMG,KAAKC,MAAMP,EAAEQ,gBACRL,EAAIM,MAGb,OAFAN,EAAMA,EAAIM,MAAMC,QAAQ,MAAO,IAC/BN,QAAQC,IAAI,iBAAkBF,GACvBf,EAAOe,EAAK,YAIvBd,EAAQ,GAERF,EAAS,WAEP,OADAC,EAAO,cAAe,WACfK,EAAEkB,KAAK,CACZC,KAAM,OACNC,IAAKC,OAAS,2BACdC,SAAU,OACVN,MAAOvB,EACP8B,QAAS,SAASC,GAChB,IAAQC,EAAGC,EACX,OAAIF,EAAKR,OACHQ,EAAKR,MAAMW,MAAM,oBACnB3B,EAAE,cAAc4B,OAEXjC,EAAO6B,EAAKR,MAAO,YAEtBQ,EAAKH,QAAUG,EAAKK,MAAQL,EAAKE,QAGvC1B,EAAE,cAAc8B,OAChBL,EAAI,kBAAqBM,OAAOP,EAAKH,QAAW,IAAOU,OAAOP,EAAKK,MAAS,WAAaL,EAAKE,OAAS,WAAcK,OAAOP,EAAKH,QAC7G,IAAhBG,EAAKQ,SACPP,GAAK,WAAaD,EAAKQ,QAEH,KAAlBR,EAAKS,WACPR,GAAK,WAAaD,EAAKS,UAEpB,IAAIC,OAAO,CACdC,QAASC,SAASC,eAAe,MACjCC,MAAOb,EACPc,KAAM,MAERb,EAASF,EAAKE,QAAU,GACxB1B,EAAE,WAAWwC,KAAKd,EAAOe,cAAcxB,QAAQ,UAAW,OAAOyB,QAC7DlB,EAAKmB,OACPhD,EAAO,iBAAkB,WAEzBA,EAAO,cAAe,WAEjBC,EAAQ4B,EAAK5B,OAtBXD,EAAO,OAAQ,cA2B9BE,EAAS,WACP,IAAI+C,EAEJ,OADAA,EAAM5C,EAAE,SAAS4C,OAKR5C,EAAEkB,KAAK,CACZC,KAAM,OACNC,IAAKC,OAAS,2BACdC,SAAU,OACVE,KAAM,CACJ5B,MAAOA,EACPiD,KAAMD,EACNE,SAAU9C,EAAE,aAAa4C,OAE3B5B,MAAOvB,EACP8B,QAAS,SAASC,GAChB,OAAIA,EAAKR,MACHQ,EAAKR,MAAMW,MAAM,kBACZhC,EAAO6B,EAAKR,MAAO,WAEnBrB,EAAO6B,EAAKR,MAAO,UAGrBrB,EAAO,sBAAuB,eArB3CA,EAAO,kBAAmB,WACnBK,EAAE,SAAS+C,UA2BtB/C,EAAEoC,UAAUY,MAAM,WAEhB,OADAtD,IACOM,EAAE,WAAWiD,GAAG,QAAS,WAC9B,OAAOpD,UAIVqD,KAAKC"} {"version":3,"sources":["totpregistration.js"],"names":["setMsg","msg","level","$","attr","html","window","translate","removeClass","addClass","displayError","j","status","err","console","log","res","JSON","parse","responseText","error","replace","token","getKey","ajax","type","url","portal","dataType","success","data","secret","match","hide","user","show","s","escape","digits","interval","QRious","element","document","getElementById","value","size","text","toUpperCase","trim","newkey","verify","val","code","TOTPName","focus","ready","on","call","this"],"mappings":"CAMA,WACE,IAEAA,EAAS,SAASC,EAAKC,GAQrB,OAPAC,EAAE,QAAQC,KAAK,SAAUH,GACzBE,EAAE,QAAQE,KAAKC,OAAOC,UAAUN,IAChCE,EAAE,UAAUK,YAAY,4FACxBL,EAAE,UAAUM,SAAS,WAAaP,GACpB,aAAVA,IACFA,EAAQ,WAEHC,EAAE,UAAUM,SAAS,SAAWP,IAGzCQ,EAAe,SAASC,EAAGC,EAAQC,GAIjC,GAFAC,QAAQC,IAAI,QAASF,IACrBG,EAAMC,KAAKC,MAAMP,EAAEQ,gBACRH,EAAII,MAGb,OAFAJ,EAAMA,EAAII,MAAMC,QAAQ,MAAO,IAC/BP,QAAQC,IAAI,iBAAkBC,GACvBhB,EAAOgB,EAAK,YAIvBM,EAAQ,GAERC,EAAS,WAEP,OADAvB,EAAO,cAAe,WACfG,EAAEqB,KAAK,CACZC,KAAM,OACNC,IAAKC,OAAS,2BACdC,SAAU,OACVR,MAAOV,EACPmB,QAAS,SAASC,GAChB,IAAWC,EACX,OAAID,EAAKV,OACHU,EAAKV,MAAMY,MAAM,oBACnB7B,EAAE,cAAc8B,OAEXjC,EAAO8B,EAAKV,MAAO,YAEtBU,EAAKH,QAAUG,EAAKI,MAAQJ,EAAKC,QAGvC5B,EAAE,cAAcgC,OAChBC,EAAI,kBAAqBC,OAAOP,EAAKH,QAAW,IAAOU,OAAOP,EAAKI,MAAS,WAAaJ,EAAKC,OAAS,WAAcM,OAAOP,EAAKH,QAC7G,IAAhBG,EAAKQ,SACPF,GAAK,WAAaN,EAAKQ,QAEH,KAAlBR,EAAKS,WACPH,GAAK,WAAaN,EAAKS,UAEpB,IAAIC,OAAO,CACdC,QAASC,SAASC,eAAe,MACjCC,MAAOR,EACPS,KAAM,MAERd,EAASD,EAAKC,QAAU,GACxB5B,EAAE,WAAW2C,KAAKf,EAAOgB,cAAc1B,QAAQ,UAAW,OAAO2B,QAC7DlB,EAAKmB,OACPjD,EAAO,iBAAkB,WAEzBA,EAAO,cAAe,WAEjBsB,EAAQQ,EAAKR,OAtBXtB,EAAO,OAAQ,cA2B9BkD,EAAS,WACP,IACAC,EAAMhD,EAAE,SAASgD,MACjB,OAAKA,EAIIhD,EAAEqB,KAAK,CACZC,KAAM,OACNC,IAAKC,OAAS,2BACdC,SAAU,OACVE,KAAM,CACJR,MAAOA,EACP8B,KAAMD,EACNE,SAAUlD,EAAE,aAAagD,OAE3B/B,MAAOV,EACPmB,QAAS,SAASC,GAChB,OAAIA,EAAKV,MACHU,EAAKV,MAAMY,MAAM,kBACZhC,EAAO8B,EAAKV,MAAO,WAEnBpB,EAAO8B,EAAKV,MAAO,UAGrBpB,EAAO,sBAAuB,eArB3CA,EAAO,kBAAmB,WACnBG,EAAE,SAASmD,UA2BtBnD,EAAEuC,UAAUa,MAAM,WAEhB,OADAhC,IACOpB,EAAE,WAAWqD,GAAG,QACdN,MAIVO,KAAKC"}
Loading…
Cancel
Save