diff --git a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/LDAP.pm b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/LDAP.pm index 08af902e4929dc741539f8083982af5623d3b758..3aa6f29793f8095369eda756defc8cedf93230d9 100644 --- a/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/LDAP.pm +++ b/lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Auth/LDAP.pm @@ -12,7 +12,7 @@ use Lemonldap::NG::Portal::Main::Constants qw( PE_PP_CHANGE_AFTER_RESET ); -our $VERSION = '2.0.14'; +our $VERSION = '2.17.0'; # Inheritance: UserDB::LDAP provides all needed ldap functions extends qw( @@ -70,10 +70,7 @@ sub authenticate { } $self->validateLdap; - - unless ( $self->ldap ) { - return PE_LDAPCONNECTFAILED; - } + return PE_LDAPCONNECTFAILED unless $self->ldap; my $res = $self->ldap->userBind( $req, $req->data->{dn}, @@ -87,9 +84,8 @@ sub authenticate { and $self->conf->{ldapAllowResetExpiredPassword} ) ) { - $req->data->{oldpassword} = $req->data->{password}; # Fix 2377 + $req->data->{oldpassword} = $req->data->{password}; $req->data->{noerror} = 1; - $self->setSecurity($req); } return $res; diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/autoRenew.min.js b/lemonldap-ng-portal/site/htdocs/static/common/js/autoRenew.min.js index 6a6845bb825c3bb98d1921aae8445f3886516433..31b3e6d9eebc1867bc42c0d96a42bd665cc94989 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/autoRenew.min.js +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/autoRenew.min.js @@ -1 +1 @@ -!function(){$(document).ready(function(){return $("#upgrd").submit()})}.call(this); \ No newline at end of file +(function(){$(document).ready(function(){return $("#upgrd").submit()})}).call(this); \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/autoRenew.min.js.map b/lemonldap-ng-portal/site/htdocs/static/common/js/autoRenew.min.js.map index a97f19c0255ecb2ff940dd4ebf0cc5963d9653fc..ba66c7f532106ebd0100b3064d950fd2d7e5cd33 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/autoRenew.min.js.map +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/autoRenew.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["autoRenew.js"],"names":["$","document","ready","submit","call","this"],"mappings":"CACA,WACEA,EAAEC,UAAUC,MAAM,WAChB,OAAOF,EAAE,UAAUG,YAGpBC,KAAKC"} \ No newline at end of file +{"version":3,"sources":["autoRenew.js"],"names":["$","document","ready","submit","call","this"],"mappings":"CACA,WACEA,EAAEC,UAAUC,MAAM,WAChB,OAAOF,EAAE,UAAUG,aAGpBC,KAAKC"} \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/captcha.min.js b/lemonldap-ng-portal/site/htdocs/static/common/js/captcha.min.js index abd8e3b212270ca49f9b147a622f05852c00e1f1..448ae9a4c2e9bcd03cd48af9ea8219ebc446a377 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/captcha.min.js +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/captcha.min.js @@ -1 +1 @@ -!function(){var e=function(){return console.log("Call URL -> ",portal+"renewcaptcha"),$.ajax({type:"GET",url:portal+"renewcaptcha",dataType:"json",error:function(e,r,o){var n;if(o&&console.log("Error",o),(n=e?JSON.parse(e.responseText):n)&&n.error)return console.log("Returned error",n)},success:function(e){var r=e.newtoken;return console.log("GET new token -> ",r),e=e.newimage,console.log("GET new image -> ",e),$("#token").attr("value",r),$("#captcha").attr("src",e),$("#captchafield").get(0).value=""}})};$(document).ready(function(){return $("#logout").attr("href",portal),$(".renewcaptchaclick").on("click",e)})}.call(this); \ No newline at end of file +(function(){var e;e=function(){return console.log("Call URL -> ",portal+"renewcaptcha"),$.ajax({type:"GET",url:portal+"renewcaptcha",dataType:"json",error:function(e,r,o){var n;if(o&&console.log("Error",o),e&&(n=JSON.parse(e.responseText)),n&&n.error)return console.log("Returned error",n)},success:function(e){var r,o;return o=e.newtoken,console.log("GET new token -> ",o),r=e.newimage,console.log("GET new image -> ",r),$("#token").attr("value",o),$("#captcha").attr("src",r),$("#captchafield").get(0).value=""}})},$(document).ready(function(){return $("#logout").attr("href",portal),$(".renewcaptchaclick").on("click",e)})}).call(this); \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/captcha.min.js.map b/lemonldap-ng-portal/site/htdocs/static/common/js/captcha.min.js.map index 95e0feec7a71f08420a304e54dc42b73ad1196f9..736fa113f97f6554633116be5a1f8cabeebff667 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/captcha.min.js.map +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/captcha.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["captcha.js"],"names":["renewCaptcha","console","log","portal","$","ajax","type","url","dataType","error","j","status","err","res","JSON","parse","responseText","success","data","newtoken","newimage","attr","get","value","document","ready","on","call","this"],"mappings":"CACA,WACE,IAEAA,EAAe,WAEb,OADAC,QAAQC,IAAI,eAAgBC,OAAS,gBAC9BC,EAAEC,KAAK,CACZC,KAAM,MACNC,IAAKJ,OAAS,eACdK,SAAU,OACVC,MAAO,SAASC,EAAGC,EAAQC,GACzB,IAAIC,EAOJ,GANID,GACFX,QAAQC,IAAI,QAASU,IAGrBC,EADEH,EACII,KAAKC,MAAML,EAAEM,cAEjBH,IAAOA,EAAIJ,MACb,OAAOR,QAAQC,IAAI,iBAAkBW,IAGzCI,QAAS,SAASC,GAChB,IACAC,EAAWD,EAAKC,SAMhB,OALAlB,QAAQC,IAAI,oBAAqBiB,GACjCC,EAAWF,EAAKE,SAChBnB,QAAQC,IAAI,oBAAqBkB,GACjChB,EAAE,UAAUiB,KAAK,QAASF,GAC1Bf,EAAE,YAAYiB,KAAK,MAAOD,GACnBhB,EAAE,iBAAiBkB,IAAI,GAAGC,MAAQ,OAK/CnB,EAAEoB,UAAUC,MAAM,WAEhB,OADArB,EAAE,WAAWiB,KAAK,OAAQlB,QACnBC,EAAE,sBAAsBsB,GAAG,QAAS1B,MAG5C2B,KAAKC"} \ No newline at end of file +{"version":3,"sources":["captcha.js"],"names":["renewCaptcha","console","log","portal","$","ajax","type","url","dataType","error","j","status","err","res","JSON","parse","responseText","success","data","newimage","newtoken","attr","get","value","document","ready","on","call","this"],"mappings":"CACA,WACE,IAAIA,EAEJA,EAAe,WAEb,OADAC,QAAQC,IAAI,eAAgBC,OAAS,gBAC9BC,EAAEC,KAAK,CACZC,KAAM,MACNC,IAAKJ,OAAS,eACdK,SAAU,OACVC,MAAO,SAASC,EAAGC,EAAQC,GACzB,IAAIC,EAOJ,GANID,GACFX,QAAQC,IAAI,QAASU,GAEnBF,IACFG,EAAMC,KAAKC,MAAML,EAAEM,eAEjBH,GAAOA,EAAIJ,MACb,OAAOR,QAAQC,IAAI,iBAAkBW,IAGzCI,QAAS,SAASC,GAChB,IAAIC,EAAUC,EAOd,OANAA,EAAWF,EAAKE,SAChBnB,QAAQC,IAAI,oBAAqBkB,GACjCD,EAAWD,EAAKC,SAChBlB,QAAQC,IAAI,oBAAqBiB,GACjCf,EAAE,UAAUiB,KAAK,QAASD,GAC1BhB,EAAE,YAAYiB,KAAK,MAAOF,GACnBf,EAAE,iBAAiBkB,IAAI,GAAGC,MAAQ,OAK/CnB,EAAEoB,UAAUC,MAAM,WAEhB,OADArB,EAAE,WAAWiB,KAAK,OAAQlB,QACnBC,EAAE,sBAAsBsB,GAAG,QAAS1B,OAG5C2B,KAAKC"} \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/confirm.min.js b/lemonldap-ng-portal/site/htdocs/static/common/js/confirm.min.js index 7f94f68c7068f00d59e780a436e11fe6f5f4f5f5..43418e6f4f99d8d85d737258c300e043381b1215 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/confirm.min.js +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/confirm.min.js @@ -1 +1 @@ -!function(){var e=5,r=0,t=function(){if(r)return $("#form").submit()},i=function(){var t=$("#timer").html();if(t)return r=1,0 div.category",update:M}),_(),$("div.message").fadeIn("slow"),$("input[name=timezone]").val(-(new Date).getTimezoneOffset()/60),c=$("#menu").tabs({active:0}),i=$('#menu a[href="#'+L.displaytab+'"]').parent().index(),c.tabs("option","active",i=i<0?0:i),c=$("#authMenu").tabs({active:0}),i=$('#authMenu a[href="#'+L.displaytab+'"]').parent().index(),c.tabs("option","active",i=i<0?0:i),L.choicetab&&c.tabs("option","active",$('#authMenu a[href="#'+L.choicetab+'"]').parent().index()),L.login?$("input[type=password]:first").focus():0===$("input[autofocus]").length&&$("input[type!=hidden]:first").focus(),L.newwindow&&$("#appslist a").attr("target","_blank"),$("p.removeOther").length&&(i=$("#form").attr("action"),c=$("#form").attr("method"),console.log("method=",c),a="",$("#form input[type=hidden]")&&(console.log("Parse hidden values"),$("#form input[type=hidden]").each(function(e){return console.log(" ->",$(this).attr("name"),$(this).val()),a+="&"+$(this).attr("name")+"="+$(this).val()})),o="",i&&(console.log("action=",i),-1!==i.indexOf("?")?i.substring(0,i.indexOf("?")):o=i+"?",o+=a,a=""),i=$("p.removeOther a").attr("href")+"&method="+c+a,o&&(i+="&url="+btoa(o)),$("p.removeOther a").attr("href",i)),window.location.search&&((l=j("llnglanguage"))&&console.log("Get lang from parameter"),1===(P=j("setCookieLang"))&&console.log("Set lang cookie")),s||(s=V("llnglanguage"))&&!l&&console.log("Get lang from cookie"),s)N.call(window.availableLanguages,s)<0&&(s=window.availableLanguages[0],l||console.log("Lang not available -> Get default lang"));else if(navigator){for(p=[],g=[],k=[navigator.language],navigator.languages&&(k=navigator.languages),r=0,f=(T=window.availableLanguages).length;r ';for(y=0,w=k.length;y Get default lang"),l=window.availableLanguages[0]),console.log("Selected lang ->",l),P&&(console.log("Set cookie lang ->",l),A("llnglanguage",l,3650)),D(l)):(console.log("Selected lang ->",s),D(s)),u="",x=0,m=(O=window.availableLanguages).length;x ';return $("#languages").html(u),$(".langicon").on("click",function(){return s=$(this).attr("title"),A("llnglanguage",s,3650),D(s)}),d=function(e){e=e.charCodeAt(0);return 47=window.datas.ppolicy.minsize,"ppolicy-minsize-feedback")&&(l=!1),0=window.datas.ppolicy.minupper,"ppolicy-minupper-feedback")&&(l=!1)),0=window.datas.ppolicy.minlower,"ppolicy-minlower-feedback")&&(l=!1)),0=window.datas.ppolicy.mindigit,"ppolicy-mindigit-feedback")&&(l=!1)),0<$("#ppolicy-checkhibp-feedback").length&&("focusout"===t?5<=(i=$("#newpassword").val()).length&&$.ajax({dataType:"json",url:"/checkhibp?password="+btoa(i),context:document.body,success:function(e){var t=e.code,e=e.message;if(void 0!==t)if(0===parseInt(t)){if(I(!0,"ppolicy-checkhibp-feedback"))return l=!1}else if(2===parseInt(t)){if(I(!1,"ppolicy-checkhibp-feedback"))return l=!1}else if(console.log("checkhibp: backend error: ",e),I(!1,"ppolicy-checkhibp-feedback"))return l=!1},error:function(e,t,o){var n;if(o&&console.log("checkhibp: frontend error: ",o),(n=e?JSON.parse(e.responseText):n)&&n.error)return console.log("checkhibp: returned error: ",n)}}):I(!1,"ppolicy-checkhibp-feedback")&&(l=!1)),window.datas.ppolicy.allowedspechar){for(r=(r=window.datas.ppolicy.allowedspechar.replace(/\s/g,"")).replace(//g," "),o=!1,n=0,a=e.length;n/g," "),n=0;n=window.datas.ppolicy.minspechar,"ppolicy-minspechar-feedback")&&(l=!1)}if(0=window.datas.ppolicy.minspechar,"ppolicy-minspechar-feedback")&&(l=!1)}l?($(".ppolicy").removeClass("border-danger").addClass("border-success"),null!=(t=$("#newpassword").get(0))&&t.setCustomValidity("")):($(".ppolicy").removeClass("border-success").addClass("border-danger"),null!=(i=$("#newpassword").get(0))&&i.setCustomValidity(G("PE28")))},null!=window.datas.ppolicy&&$("#newpassword").length&&(t(""),$("#newpassword").keyup(function(e){t(e.target.value)}),$("#newpassword").focusout(function(e){t(e.target.value,"focusout")})),c=function(e){return e.target.checked?($("#newpassword").off("keyup"),null!=(e=$("#newpassword").get(0))?e.setCustomValidity(""):void 0):($("#newpassword").keyup(function(e){t(e.target.value)}),t(""))},o=function(){var e;return(null!=(e=$("#confirmpassword").get(0))?e.value:void 0)===(null!=(e=$("#newpassword").get(0))?e.value:void 0)?(null!=(e=$("#confirmpassword").get(0))&&e.setCustomValidity(""),!0):(null!=(e=$("#confirmpassword").get(0))&&e.setCustomValidity(G("PE34")),!1)},$("#newpassword").change(o),$("#confirmpassword").change(o),null!=window.datas.ppolicy&&$("#newpassword").length&&$("#reset").change(c),$(".localeDate").each(function(){var e=new Date(1e3*$(this).attr("val"));return $(this).text(e.toLocaleString())}),$(".oidcConsent").on("click",function(){return R($(this).attr("partner"))}),L.pingInterval&&0",$(this).attr("name")),$(this).val("")})}),$("#closefinduserform").on("click",function(){return console.log("Clear modal"),$("#finduserForm").trigger("reset")}),$("#finduserbutton").on("click",function(e){return e.preventDefault(),document.body.style.cursor="progress",e=$("#finduserForm").serialize(),console.log("Send findUser request with parameters",e),$.ajax({type:"POST",url:portal+"finduser",dataType:"json",data:e,success:function(e){var t;if(document.body.style.cursor="default",t=e.user,console.log("Suggested spoofId=",t),$("input[name=spoofId]").each(function(){return $(this).val(t)}),e.captcha&&$("#captcha").attr("src",e.captcha),e.token)return $("#finduserToken").val(e.token),$("#token").val(e.token)},error:function(e,t,o){var n;if(document.body.style.cursor="default",o&&console.log("Error",o),(n=e?JSON.parse(e.responseText):n)&&n.error)return console.log("Returned error",n)}})}),$("#btn-back-to-top").on("click",function(){return console.log("Back to top"),document.body.scrollTop=0,document.documentElement.scrollTop=0}),$(window).on("scroll",function(){return L.scrollTop&&(document.body.scrollTop>Math.abs(L.scrollTop)||document.documentElement.scrollTop>Math.abs(L.scrollTop))?$("#btn-back-to-top").css("display","block"):$("#btn-back-to-top").css("display","none")}),$(document).trigger("portalLoaded"),!0})}.call(this); \ No newline at end of file +(function(){var V,t,z,R,_,M,N,q,J,U,e,F,g,B,Z,s,H=[].indexOf||function(e){for(var t=0,o=this.length;t div.category",update:function(){return F()}}),q(),$("div.message").fadeIn("slow"),$("input[name=timezone]").val(-(new Date).getTimezoneOffset()/60),x=$("#menu").tabs({active:0}),(k=$('#menu a[href="#'+V.displaytab+'"]').parent().index())<0&&(k=0),x.tabs("option","active",k),n=$("#authMenu").tabs({active:0}),(o=$('#authMenu a[href="#'+V.displaytab+'"]').parent().index())<0&&(o=0),n.tabs("option","active",o),V.choicetab&&n.tabs("option","active",$('#authMenu a[href="#'+V.choicetab+'"]').parent().index()),V.login?$("input[type=password]:first").focus():0===$("input[autofocus]").length&&$("input[type!=hidden]:first").focus(),V.newwindow&&$("#appslist a").attr("target","_blank"),$("p.removeOther").length&&(e=$("#form").attr("action"),C=$("#form").attr("method"),console.log("method=",C),l="",$("#form input[type=hidden]")&&(console.log("Parse hidden values"),$("#form input[type=hidden]").each(function(e){return console.log(" ->",$(this).attr("name"),$(this).val()),l+="&"+$(this).attr("name")+"="+$(this).val()})),a="",e&&(console.log("action=",e),-1!==e.indexOf("?")?e.substring(0,e.indexOf("?")):a=e+"?",a+=l,l=""),v=$("p.removeOther a").attr("href")+"&method="+C+l,a&&(v+="&url="+btoa(a)),$("p.removeOther a").attr("href",v)),window.location.search&&((L=R("llnglanguage"))&&console.log("Get lang from parameter"),1===(D=R("setCookieLang"))&&console.log("Set lang cookie")),d||(d=z("llnglanguage"))&&!L&&console.log("Get lang from cookie"),d)H.call(window.availableLanguages,d)<0&&(d=window.availableLanguages[0],L||console.log("Lang not available -> Get default lang"));else if(navigator){for(p=[],g=[],O=[navigator.language],navigator.languages&&(O=navigator.languages),c=0,w=(E=window.availableLanguages).length;c ';for(b=0,h=O.length;b Get default lang"),L=window.availableLanguages[0]),console.log("Selected lang ->",L),D&&(console.log("Set cookie lang ->",L),J("llnglanguage",L,3650)),Z(L)):(console.log("Selected lang ->",d),Z(d)),u="",P=0,y=(I=window.availableLanguages).length;P ';return $("#languages").html(u),$(".langicon").on("click",function(){return d=$(this).attr("title"),J("llnglanguage",d,3650),Z(d)}),f=function(e){var t;return 47<(t=e.charCodeAt(0))&&t<58||64=window.datas.ppolicy.minsize,"ppolicy-minsize-feedback")&&(p=!1),0=window.datas.ppolicy.minupper,"ppolicy-minupper-feedback")&&(p=!1)),0=window.datas.ppolicy.minlower,"ppolicy-minlower-feedback")&&(p=!1)),0=window.datas.ppolicy.mindigit,"ppolicy-mindigit-feedback")&&(p=!1)),0<$("#ppolicy-checkhibp-feedback").length&&("focusout"===t?5<=(i=$("#newpassword").val()).length&&$.ajax({dataType:"json",url:"/checkhibp?password="+btoa(i),context:document.body,success:function(e){var t,o;if(t=e.code,o=e.message,void 0!==t)if(0===parseInt(t)){if(U(!0,"ppolicy-checkhibp-feedback"))return p=!1}else if(2===parseInt(t)){if(U(!1,"ppolicy-checkhibp-feedback"))return p=!1}else if(console.log("checkhibp: backend error: ",o),U(!1,"ppolicy-checkhibp-feedback"))return p=!1},error:function(e,t,o){var n;if(o&&console.log("checkhibp: frontend error: ",o),e&&(n=JSON.parse(e.responseText)),n&&n.error)return console.log("checkhibp: returned error: ",n)}}):U(!1,"ppolicy-checkhibp-feedback")&&(p=!1)),window.datas.ppolicy.allowedspechar){for(l=(l=window.datas.ppolicy.allowedspechar.replace(/\s/g,"")).replace(//g," "),n=!1,a=0,r=e.length;a/g," "),a=0;a=window.datas.ppolicy.minspechar,"ppolicy-minspechar-feedback")&&(p=!1)}if(0=window.datas.ppolicy.minspechar,"ppolicy-minspechar-feedback")&&(p=!1)}p?($(".ppolicy").removeClass("border-danger").addClass("border-success"),null!=(d=$("#newpassword").get(0))&&d.setCustomValidity("")):($(".ppolicy").removeClass("border-success").addClass("border-danger"),null!=(u=$("#newpassword").get(0))&&u.setCustomValidity(B("PE28")))},null!=window.datas.ppolicy&&$("#newpassword").length&&(r(""),$("#newpassword").keyup(function(e){r(e.target.value)}),$("#newpassword").focusout(function(e){r(e.target.value,"focusout")})),G=function(e){var t;return e.target.checked?($("#newpassword").off("keyup"),null!=(t=$("#newpassword").get(0))?t.setCustomValidity(""):void 0):($("#newpassword").keyup(function(e){r(e.target.value)}),r(""))},s=function(){var e,t,o,n;return(null!=(e=$("#confirmpassword").get(0))?e.value:void 0)===(null!=(t=$("#newpassword").get(0))?t.value:void 0)?(null!=(o=$("#confirmpassword").get(0))&&o.setCustomValidity(""),!0):(null!=(n=$("#confirmpassword").get(0))&&n.setCustomValidity(B("PE34")),!1)},$("#newpassword").change(s),$("#confirmpassword").change(s),null!=window.datas.ppolicy&&$("#newpassword").length&&$("#reset").change(G),$(".localeDate").each(function(){var e;return e=new Date(1e3*$(this).attr("val")),$(this).text(e.toLocaleString())}),$(".oidcConsent").on("click",function(){return N($(this).attr("partner"))}),V.pingInterval&&0",$(this).attr("name")),$(this).val("")})}),$("#closefinduserform").on("click",function(){return console.log("Clear modal"),$("#finduserForm").trigger("reset")}),$("#finduserbutton").on("click",function(e){var t;return e.preventDefault(),document.body.style.cursor="progress",t=$("#finduserForm").serialize(),console.log("Send findUser request with parameters",t),$.ajax({type:"POST",url:portal+"finduser",dataType:"json",data:t,success:function(e){var t;if(document.body.style.cursor="default",t=e.user,console.log("Suggested spoofId=",t),$("input[name=spoofId]").each(function(){return $(this).val(t)}),e.captcha&&$("#captcha").attr("src",e.captcha),e.token)return $("#finduserToken").val(e.token),$("#token").val(e.token)},error:function(e,t,o){var n;if(document.body.style.cursor="default",o&&console.log("Error",o),e&&(n=JSON.parse(e.responseText)),n&&n.error)return console.log("Returned error",n)}})}),$("#btn-back-to-top").on("click",function(){return console.log("Back to top"),document.body.scrollTop=0,document.documentElement.scrollTop=0}),$(window).on("scroll",function(){return V.scrollTop&&(document.body.scrollTop>Math.abs(V.scrollTop)||document.documentElement.scrollTop>Math.abs(V.scrollTop))?$("#btn-back-to-top").css("display","block"):$("#btn-back-to-top").css("display","none")}),$(document).trigger("portalLoaded"),!0})}).call(this); \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/portal.min.js.map b/lemonldap-ng-portal/site/htdocs/static/common/js/portal.min.js.map index 50d6bb442e50a3c99b681e5046db50ae0633fec0..5ed8015daef0a23f05a8b12966786ba0ceb177bf 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/portal.min.js.map +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/portal.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["portal.js"],"names":["datas","delKey","getCookie","getQueryParam","getValues","ping","removeOidcConsent","restoreOrder","setCookie","setKey","setOrder","setSelector","indexOf","item","i","l","this","length","translationFields","setDanger","cond","field","result","$","addClass","removeClass","attr","translatePage","lang","getJSON","window","staticPrefix","data","k","ref","ref1","v","trOver","all","each","args","split","txt","translate","shift","len1","replace","html","match","parent","hide","attribute","value","trattributes","trim","ref2","tmp","d","Date","text","toLocaleString","str","values","results","JSON","parse","push","error1","console","log","name","RegExp","exec","location","search","decodeURIComponent","sortable","join","partner","j","s","e","alert","key","val","success","error","ajax","type","url","scriptname","dataType","token","sub","IDs","items","len2","m","rebuild","savedOrd","list","itemID","child","children","remove","filter","append","setTimeout","reload","t","cname","c","ca","document","cookie","re","exdays","samesite","secure","cookiestring","setTime","getTime","toUTCString","on","al","checkpassword","checksamepass","hiddenParams","isAlphaNumeric","langdiv","langs","langs2","len3","len4","menuIndex","n","nl","nlangs","o","queryLang","setCookieLang","togglecheckpassword","choicetab","axis","cursor","opacity","revert","update","fadeIn","getTimezoneOffset","menuTabs","tabs","active","index","authMenuTabs","authMenuIndex","focus","action","method","back_url","substring","link","btoa","call","availableLanguages","navigator","language","languages","chr","code","charCodeAt","password","hasforbidden","len","nonwhitespechar","numspechar","upper","ppolicy","minsize","minupper","minlower","lower","mindigit","digit","newpasswordVal","context","body","msg","message","parseInt","status","err","res","responseText","allowedspechar","charAt","minspechar","ref3","get","setCustomValidity","ref4","keyup","target","focusout","checked","off","ref6","ref5","change","toggleClass","prop","removeAttr","show","ref7","find","trigger","event","preventDefault","style","serialize","portal","user","captcha","scrollTop","documentElement","Math","abs","css"],"mappings":"CAMA,WACE,IAAIA,EAAOC,EAA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EP,OADArE,EAAE,kBAAkB6D,IAAIpD,EAAK4D,OACtBrE,EAAE,UAAU6D,IAAIpD,EAAK4D,QAGhCN,MAAO,SAASP,EAAG+G,EAAQC,GACzB,IAAIC,EAQJ,GAPA/E,SAASyE,KAAKgC,MAAM1E,OAAS,UACzB+C,GACF3H,QAAQC,IAAI,QAAS0H,IAGrBC,EADEjH,EACIf,KAAKC,MAAMc,EAAEkH,cAEjBD,IAAOA,EAAI1G,MACb,OAAOlB,QAAQC,IAAI,iBAAkB2H,QAK7CzK,EAAE,oBAAoBoG,GAAG,QAAS,WAGhC,OAFAvD,QAAQC,IAAI,eACZ4C,SAASyE,KAAKqC,UAAY,EACnB9G,SAAS+G,gBAAgBD,UAAY,IAE9CxM,EAAEO,QAAQ6F,GAAG,SAAU,WACrB,OAAI3H,EAAiB,YAAMiH,SAASyE,KAAKqC,UAAYE,KAAKC,IAAIlO,EAAiB,YAAMiH,SAAS+G,gBAAgBD,UAAYE,KAAKC,IAAIlO,EAAiB,YAC3IuB,EAAE,oBAAoB4M,IAAI,UAAW,SAErC5M,EAAE,oBAAoB4M,IAAI,UAAW,UAGhD5M,EAAE0F,UAAUsG,QAAQ,iBACb,KAGRpD,KAAKnJ"} \ No newline at end of file +{"version":3,"sources":["portal.js"],"names":["datas","delKey","getCookie","getQueryParam","getValues","ping","removeOidcConsent","restoreOrder","setCookie","setDanger","setKey","setOrder","setSelector","translate","translatePage","translationFields","indexOf","item","i","l","this","length","cond","field","result","$","addClass","removeClass","attr","lang","getJSON","window","staticPrefix","data","k","ref","ref1","v","trOver","all","each","args","len1","txt","split","shift","replace","html","match","parent","hide","attribute","ref2","trattributes","value","trim","tmp","d","Date","text","toLocaleString","str","values","e","results","JSON","parse","push","error1","console","log","name","RegExp","exec","location","search","decodeURIComponent","sortable","join","partner","j","s","alert","key","val","success","error","ajax","type","url","scriptname","dataType","token","sub","IDs","child","itemID","items","len2","list","m","rebuild","savedOrd","children","remove","filter","append","setTimeout","reload","t","cname","c","ca","re","document","cookie","exdays","cookiestring","samesite","secure","setTime","getTime","toUTCString","on","action","al","authMenuIndex","authMenuTabs","back_url","checkpassword","checksamepass","hiddenParams","isAlphaNumeric","langdiv","langs","langs2","len3","len4","link","menuIndex","menuTabs","method","n","nl","nlangs","o","queryLang","setCookieLang","togglecheckpassword","choicetab","axis","cursor","opacity","revert","update","fadeIn","getTimezoneOffset","tabs","active","index","focus","substring","btoa","call","availableLanguages","navigator","language","languages","chr","code","charCodeAt","password","digit","hasforbidden","len","lower","newpasswordVal","nonwhitespechar","numspechar","ref3","ref4","upper","ppolicy","minsize","minupper","minlower","mindigit","context","body","msg","message","parseInt","status","err","res","responseText","allowedspechar","charAt","minspechar","get","setCustomValidity","keyup","target","focusout","checked","off","ref5","ref6","change","toggleClass","ref7","prop","removeAttr","show","find","trigger","event","preventDefault","style","serialize","portal","user","captcha","scrollTop","documentElement","Math","abs","css"],"mappings":"CAMA,WACE,IAAIA,EAAOC,EAAQC,EAAWC,EAAeC,EAAiCC,EAAMC,EAAmBC,EAAcC,EAAWC,EAAWC,EAAQC,EAAUC,EAAaC,EAAWC,EAAeC,EAClMC,EAAU,GAAGA,SAAW,SAASC,GAAQ,IAAK,IAAIC,EAAI,EAAGC,EAAIC,KAAKC,OAAQH,EAAIC,EAAGD,IAAO,GAAIA,KAAKE,MAAQA,KAAKF,KAAOD,EAAM,OAAOC,EAAK,OAAQ,GAEjJH,EAAoB,GAEpBN,EAAY,SAASa,EAAMC,GACzB,IAAIC,EAYJ,OAXAA,GAAS,EACLF,GACFG,EAAE,IAAMF,GAAOG,SAAS,yBACxBD,EAAE,IAAMF,GAAOI,YAAY,wBAC3BF,EAAE,IAAMF,GAAOK,KAAK,OAAQ,YAE5BH,EAAE,IAAMF,GAAOG,SAAS,wBACxBD,EAAE,IAAMF,GAAOI,YAAY,yBAC3BF,EAAE,IAAMF,GAAOK,KAAK,OAAQ,SAC5BJ,GAAS,GAEJA,GAGTV,EAAgB,SAASe,GACvB,OAAOJ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IAAInD,EAAK2D,QAGhCN,MAAO,SAASN,EAAGgH,EAAQC,GACzB,IAAIC,EAQJ,GAPAhF,SAAS0E,KAAK8B,MAAMnE,OAAS,UACzB0C,GACF5H,QAAQC,IAAI,QAAS2H,GAEnBjH,IACFkH,EAAMjI,KAAKC,MAAMc,EAAEmH,eAEjBD,GAAOA,EAAI5G,MACb,OAAOjB,QAAQC,IAAI,iBAAkB4H,QAK7CzK,EAAE,oBAAoBkG,GAAG,QAAS,WAGhC,OAFAtD,QAAQC,IAAI,eACZ4C,SAAS0E,KAAKmC,UAAY,EACnB7G,SAAS8G,gBAAgBD,UAAY,IAE9CtM,EAAEM,QAAQ4F,GAAG,SAAU,WACrB,OAAI3H,EAAiB,YAAMkH,SAAS0E,KAAKmC,UAAYE,KAAKC,IAAIlO,EAAiB,YAAMkH,SAAS8G,gBAAgBD,UAAYE,KAAKC,IAAIlO,EAAiB,YAC3IyB,EAAE,oBAAoB0M,IAAI,UAAW,SAErC1M,EAAE,oBAAoB0M,IAAI,UAAW,UAGhD1M,EAAEyF,UAAUqG,QAAQ,iBACb,MAGRpD,KAAK/I"} \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/redirect.min.js b/lemonldap-ng-portal/site/htdocs/static/common/js/redirect.min.js index 496cff25295fc4001c47989ec26fccde7775496a..a9b28d833a2486cf549a5ac4db2110ac1b2d1ddf 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/redirect.min.js +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/redirect.min.js @@ -1 +1 @@ -!function(){document.onreadystatechange=function(){var t;if("complete"===document.readyState){try{t=document.getElementById("redirect").textContent.replace(/\s/g,"")}catch(e){t=document.getElementById("redirect").innerHTML.replace(/\s/g,"")}return t?"form"===t?document.getElementById("form").submit():document.location.href=t:console.log("No redirection !")}}}.call(this); \ No newline at end of file +(function(){document.onreadystatechange=function(){var t;if("complete"===document.readyState){try{t=document.getElementById("redirect").textContent.replace(/\s/g,"")}catch(e){t=document.getElementById("redirect").innerHTML.replace(/\s/g,"")}return t?"form"===t?document.getElementById("form").submit():document.location.href=t:console.log("No redirection !")}}}).call(this); \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/redirect.min.js.map b/lemonldap-ng-portal/site/htdocs/static/common/js/redirect.min.js.map index 64cacd1ff5d78b66f442280f73b0bcfb3327c6d2..e18cb1ce30b8eb70a483f05b8f5db5bebddf9fe6 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/redirect.min.js.map +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/redirect.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["redirect.js"],"names":["document","onreadystatechange","redirect","readyState","getElementById","textContent","replace","error","innerHTML","submit","location","href","console","log","call","this"],"mappings":"CACA,WACEA,SAASC,mBAAqB,WAC5B,IAAIC,EACJ,GAA4B,aAAxBF,SAASG,WAA2B,CACtC,IACED,EAAWF,SAASI,eAAe,YAAYC,YAAYC,QAAQ,MAAO,IAC1E,MAAOC,GACPL,EAAWF,SAASI,eAAe,YAAYI,UAAUF,QAAQ,MAAO,IAE1E,OAAIJ,EACe,SAAbA,EACKF,SAASI,eAAe,QAAQK,SAEhCT,SAASU,SAASC,KAAOT,EAG3BU,QAAQC,IAAI,uBAKxBC,KAAKC"} \ No newline at end of file +{"version":3,"sources":["redirect.js"],"names":["document","onreadystatechange","redirect","readyState","getElementById","textContent","replace","error","innerHTML","submit","location","href","console","log","call","this"],"mappings":"CACA,WACEA,SAASC,mBAAqB,WAC5B,IAAIC,EACJ,GAA4B,aAAxBF,SAASG,WAA2B,CACtC,IACED,EAAWF,SAASI,eAAe,YAAYC,YAAYC,QAAQ,MAAO,IAC1E,MAAOC,GACPL,EAAWF,SAASI,eAAe,YAAYI,UAAUF,QAAQ,MAAO,IAE1E,OAAIJ,EACe,SAAbA,EACKF,SAASI,eAAe,QAAQK,SAEhCT,SAASU,SAASC,KAAOT,EAG3BU,QAAQC,IAAI,wBAKxBC,KAAKC"} \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/registerbrowser.min.js b/lemonldap-ng-portal/site/htdocs/static/common/js/registerbrowser.min.js index b475ba8ba4b84521f14f8a8c949ae153bc7d8a2c..b43eb179fa4786f13f7b182d20a0bb8bb35ff4d9 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/registerbrowser.min.js +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/registerbrowser.min.js @@ -1 +1 @@ -!function(){var n,o,r,t,i,l,a;$(document).ready(function(){return window.requestIdleCallback?requestIdleCallback(function(){return t()}):setTimeout(t,500)}),t=function(){var e,t;if(window.localStorage){if(t=$("#totpsecret").attr("value"))try{localStorage.setItem("stayconnectedkey",t)}catch(t){e=t,console.error("Unable to register key in storage",e)}else t=localStorage.getItem("stayconnectedkey");if(t)try{return $("#fg").attr("value","TOTP_"+r(t)),void $("#form").submit()}catch(t){e=t,console.error("Unable to register key in storage",e)}}return(t=document.createElement("script")).src=window.staticPrefix+"bwr/fingerprintjs2/fingerprint2.js",t.async=!1,document.body.append(t),t.onload=a,setTimeout(a,1e3)},a=function(){return console.log("Trying fingerprint"),window.Fingerprint2?Fingerprint2.get(function(t){t=t.map(function(t){return t.value}),t=Fingerprint2.x64hash128(t.join(""),31);return $("#fg").attr("value",t),$("#form").submit()}):(console.error("No way to register this device"),$("#form").submit())},r=function(t){var e,r;return t=n(t),r=l(o(Math.floor(Date.now()/3e4)),16,"0"),(e=new jsSHA("SHA-1","HEX")).setHMACKey(t,"HEX"),e.update(r),t=e.getHMAC("HEX"),r=i(t.substring(t.length-1)),(e=(i(t.substr(2*r,8))&i("7fffffff"))+"").substr(Math.max(e.length-6,0),6)},i=function(t){return parseInt(t,16)},o=function(t){return(t<15.5?"0":"")+Math.round(t).toString(16)},n=function(t){for(var e,r,n,o,i,a="",c="",s=r=0,u=(t=t.replace(/=+$/,"")).length-1;0<=u?r<=u:u<=r;s=0<=u?++r:--r){if(-1===(i="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".indexOf(t.charAt(s).toUpperCase())))throw new Error("Invalid base32 character in key");a+=l(i.toString(2),5,"0")}for(s=n=0,o=a.length-8;n<=o;s=n+=8)e=a.substr(s,8),c+=l(parseInt(e,2).toString(16),2,"0");return c},l=function(t,e,r){return t=e+1>=t.length?Array(e+1-t.length).join(r)+t:t}}.call(this); \ No newline at end of file +(function(){var a,c,n,t,s,l,o;$(document).ready(function(){return window.requestIdleCallback?requestIdleCallback(function(){return t()}):setTimeout(t,500)}),t=function(){var e,t,r;if(window.localStorage){if(r=$("#totpsecret").attr("value"))try{localStorage.setItem("stayconnectedkey",r)}catch(t){e=t,console.error("Unable to register key in storage",e)}else r=localStorage.getItem("stayconnectedkey");if(r)try{return $("#fg").attr("value","TOTP_"+n(r)),void $("#form").submit()}catch(t){e=t,console.error("Unable to register key in storage",e)}}return(t=document.createElement("script")).src=window.staticPrefix+"bwr/fingerprintjs2/fingerprint2.js",t.async=!1,document.body.append(t),t.onload=o,setTimeout(o,1e3)},o=function(){return console.log("Trying fingerprint"),window.Fingerprint2?Fingerprint2.get(function(t){var e,r;return r=t.map(function(t){return t.value}),e=Fingerprint2.x64hash128(r.join(""),31),$("#fg").attr("value",e),$("#form").submit()}):(console.error("No way to register this device"),$("#form").submit())},n=function(t){var e,r,n,o,i;return t=a(t),i=l(c(Math.floor(Date.now()/3e4)),16,"0"),(o=new jsSHA("SHA-1","HEX")).setHMACKey(t,"HEX"),o.update(i),e=o.getHMAC("HEX"),r=s(e.substring(e.length-1)),(n=(s(e.substr(2*r,8))&s("7fffffff"))+"").substr(Math.max(n.length-6,0),6)},s=function(t){return parseInt(t,16)},c=function(t){return(t<15.5?"0":"")+Math.round(t).toString(16)},a=function(t){var e,r,n,o,i,a,c,s,u;for("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567",n=e="",o=i=0,c=(t=t.replace(/=+$/,"")).length-1;0<=c?i<=c:c<=i;o=0<=c?++i:--i){if(-1===(u="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".indexOf(t.charAt(o).toUpperCase())))throw new Error("Invalid base32 character in key");e+=l(u.toString(2),5,"0")}for(o=a=0,s=e.length-8;a<=s;o=a+=8)r=e.substr(o,8),n+=l(parseInt(r,2).toString(16),2,"0");return n},l=function(t,e,r){return e+1>=t.length&&(t=Array(e+1-t.length).join(r)+t),t}}).call(this); \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/registerbrowser.min.js.map b/lemonldap-ng-portal/site/htdocs/static/common/js/registerbrowser.min.js.map index 6c9e1a74ec8ce6d7f0533d9030e72dc209890902..675151cfeb92e43b5bebccdcc1d763a1cbc78c46 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/registerbrowser.min.js.map +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/registerbrowser.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["registerbrowser.js"],"names":["base32tohex","dec2hex","getToken","go","hex2dec","leftpad","tryFingerprint","$","document","ready","window","requestIdleCallback","setTimeout","e","secret","localStorage","attr","setItem","error","console","getItem","submit","script","createElement","src","staticPrefix","async","body","append","onload","log","Fingerprint2","get","components","values","map","component","value","result","x64hash128","join","key","shaObj","time","Math","floor","Date","now","jsSHA","setHMACKey","update","hmac","getHMAC","offset","substring","length","otp","substr","max","s","parseInt","round","toString","base32","chunk","j","k","ref1","val","bits","hex","i","ref","replace","indexOf","charAt","toUpperCase","Error","str","len","pad","Array","call","this"],"mappings":"CACA,WACE,IAAIA,EAAaC,EAASC,EAAUC,EAAIC,EAASC,EAASC,EAE1DC,EAAEC,UAAUC,MAAM,WAChB,OAAIC,OAAOC,oBACFA,oBAAoB,WACzB,OAAOR,MAGFS,WAAWT,EAAI,OAI1BA,EAAK,WACH,IAAIU,EAAWC,EACf,GAAIJ,OAAOK,aAAc,CAEvB,GADAD,EAASP,EAAE,eAAeS,KAAK,SAE7B,IACED,aAAaE,QAAQ,mBAAoBH,GACzC,MAAOI,GACPL,EAAIK,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AAS+D,GAMrB,IALA,IAAuBC,EAAeC,EAAGC,EAAQC,EAAMC,EAEvDC,EAAO,GACPC,EAAM,GAEDC,EAAIN,EAAI,EAAGO,GADhBT,EAASA,EAAOU,QAAQ,MAAO,KACFlB,OAAS,EAAG,GAAKiB,EAAMP,GAAKO,EAAWA,GAALP,EAAUM,EAAI,GAAKC,IAAQP,IAAMA,EAAG,CAEjG,IAAa,KADbG,EALY,mCAKMM,QAAQX,EAAOY,OAAOJ,GAAGK,gBAEzC,MAAM,IAAIC,MAAM,mCAElBR,GAAQhE,EAAQ+D,EAAIN,SAAS,GAAI,EAAG,KAEtC,IAAKS,EAAIL,EAAI,EAAGC,EAAOE,EAAKd,OAAS,EAAGW,GAAKC,EAAMI,EAAIL,GAAK,EAC1DF,EAAQK,EAAKZ,OAAOc,EAAG,GACvBD,GAAYjE,EAAQuD,SAASI,EAAO,GAAGF,SAAS,IAAK,EAAG,KAE1D,OAAOQ,GAGTjE,EAAU,SAASyE,EAAKC,EAAKC,GAI3B,OAFEF,EADEC,EAAM,GAAKD,EAAIvB,OACX0B,MAAMF,EAAM,EAAID,EAAIvB,QAAQf,KAAKwC,GAAOF,EAEzCA,IAGRI,KAAKC"} \ No newline at end of file +{"version":3,"sources":["registerbrowser.js"],"names":["base32tohex","dec2hex","getToken","go","hex2dec","leftpad","tryFingerprint","$","document","ready","window","requestIdleCallback","setTimeout","e","script","secret","localStorage","attr","setItem","error","console","getItem","submit","createElement","src","staticPrefix","async","body","append","onload","log","Fingerprint2","get","components","result","values","map","component","value","x64hash128","join","key","hmac","offset","otp","shaObj","time","Math","floor","Date","now","jsSHA","setHMACKey","update","getHMAC","substring","length","substr","max","s","parseInt","round","toString","base32","bits","chunk","hex","i","j","k","ref","ref1","val","replace","indexOf","charAt","toUpperCase","Error","str","len","pad","Array","call","this"],"mappings":"CACA,WACE,IAAIA,EAAaC,EAASC,EAAUC,EAAIC,EAASC,EAASC,EAE1DC,EAAEC,UAAUC,MAAM,WAChB,OAA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AOxC,EAAQsC,EAAKe,OAAgB,EAATd,EAAY,IAAMvC,EAAQ,aAAe,IACzDqD,OAAOV,KAAKW,IAAId,EAAIY,OAAS,EAAG,GAAI,IAGjDpD,EAAU,SAASuD,GACjB,OAAOC,SAASD,EAAG,KAGrB1D,EAAU,SAAS0D,GACjB,OAAQA,EAAI,KAAO,IAAM,IAAMZ,KAAKc,MAAMF,GAAGG,SAAS,KAGxD9D,EAAc,SAAS+D,GACrB,IAAiBC,EAAMC,EAAOC,EAAKC,EAAGC,EAAGC,EAAGC,EAAKC,EAAMC,EAKvD,IAJc,mCAEdN,EADAF,EAAO,GAGFG,EAAIC,EAAI,EAAGE,GADhBP,EAASA,EAAOU,QAAQ,MAAO,KACFjB,OAAS,EAAG,GAAKc,EAAMF,GAAKE,EAAWA,GAALF,EAAUD,EAAI,GAAKG,IAAQF,IAAMA,EAAG,CAEjG,IAAa,KADbI,EALY,mCAKME,QAAQX,EAAOY,OAAOR,GAAGS,gBAEzC,MAAM,IAAIC,MAAM,mCAElBb,GAAQ3D,EAAQmE,EAAIV,SAAS,GAAI,EAAG,KAEtC,IAAKK,EAAIE,EAAI,EAAGE,EAAOP,EAAKR,OAAS,EAAGa,GAAKE,EAAMJ,EAAIE,GAAK,EAC1DJ,EAAQD,EAAKP,OAAOU,EAAG,GACvBD,GAAY7D,EAAQuD,SAASK,EAAO,GAAGH,SAAS,IAAK,EAAG,KAE1D,OAAOI,GAGT7D,EAAU,SAASyE,EAAKC,EAAKC,GAI3B,OAHID,EAAM,GAAKD,EAAItB,SACjBsB,EAAMG,MAAMF,EAAM,EAAID,EAAItB,QAAQhB,KAAKwC,GAAOF,GAEzCA,KAGRI,KAAKC"} \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/ssl.min.js b/lemonldap-ng-portal/site/htdocs/static/common/js/ssl.min.js index a05e2e5a72ace25986162c170799304f39c73e56..98acbbc12773fb0f38fe3d74db4f733790a165f4 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/ssl.min.js +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/ssl.min.js @@ -1 +1 @@ -!function(){var e=function(){var t,n=window.location.pathname;return console.log("path -> ",n),console.log("Call URL -> ",window.datas.sslHost),t=jQuery.Event("sslAttempt"),$(document).trigger(t),t.isDefaultPrevented()||$.ajax(window.datas.sslHost,{dataType:"json",xhrFields:{withCredentials:!0},success:function(e){if(console.log("Success -> ",e),t=jQuery.Event("sslSuccess"),$(document).trigger(t,[e]),!t.isDefaultPrevented())return e.ajax_auth_token&&$("#lform").find('input[name="ajax_auth_token"]').attr("value",e.ajax_auth_token),r(n)},error:function(e){if(console.log("Error during AJAX SSL authentication",e),t=jQuery.Event("sslFailure"),$(document).trigger(t,[e]),!t.isDefaultPrevented()&&(0===e.status&&r(n),e.responseJSON&&"error"in e.responseJSON&&"9"===e.responseJSON.error&&r(n),e.responseJSON&&"html"in e.responseJSON))return $("#errormsg").html(e.responseJSON.html),$(window).trigger("load")}}),!1},r=function(e){var t=$("#lform").attr("action");return t.match(/^#$/)?t=e:t+=e,console.log("form action URL -> ",t),$("#lform").attr("action",t),$("#lform").submit()};$(document).ready(function(){return $(".sslclick").on("click",e)})}.call(this); \ No newline at end of file +(function(){var r,e;e=function(){var t,n;return n=window.location.pathname,console.log("path -> ",n),console.log("Call URL -> ",window.datas.sslHost),t=jQuery.Event("sslAttempt"),$(document).trigger(t),t.isDefaultPrevented()||$.ajax(window.datas.sslHost,{dataType:"json",xhrFields:{withCredentials:!0},success:function(e){if(console.log("Success -> ",e),t=jQuery.Event("sslSuccess"),$(document).trigger(t,[e]),!t.isDefaultPrevented())return e.ajax_auth_token&&$("#lform").find('input[name="ajax_auth_token"]').attr("value",e.ajax_auth_token),r(n)},error:function(e){if(console.log("Error during AJAX SSL authentication",e),t=jQuery.Event("sslFailure"),$(document).trigger(t,[e]),!t.isDefaultPrevented()&&(0===e.status&&r(n),e.responseJSON&&"error"in e.responseJSON&&"9"===e.responseJSON.error&&r(n),e.responseJSON&&"html"in e.responseJSON))return $("#errormsg").html(e.responseJSON.html),$(window).trigger("load")}}),!1},r=function(e){var t;return(t=$("#lform").attr("action")).match(/^#$/)?t=e:t+=e,console.log("form action URL -> ",t),$("#lform").attr("action",t),$("#lform").submit()},$(document).ready(function(){return $(".sslclick").on("click",e)})}).call(this); \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/ssl.min.js.map b/lemonldap-ng-portal/site/htdocs/static/common/js/ssl.min.js.map index ad5decdbcdd02aa7ad0750bb820015b99213eea7..270e46f8cb1aa6353719534b8c8411e2dbf04ce9 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/ssl.min.js.map +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/ssl.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["ssl.js"],"names":["tryssl","e","path","window","location","pathname","console","log","datas","sslHost","jQuery","Event","$","document","trigger","isDefaultPrevented","ajax","dataType","xhrFields","withCredentials","success","data","ajax_auth_token","find","attr","sendUrl","error","result","status","responseJSON","html","form_url","match","submit","ready","on","call","this"],"mappings":"CACA,WACE,IAEAA,EAAS,WACP,IAAIC,EACJC,EAAOC,OAAOC,SAASC,SAyCvB,OAxCAC,QAAQC,IAAI,WAAYL,GACxBI,QAAQC,IAAI,eAAgBJ,OAAOK,MAAMC,SACzCR,EAAIS,OAAOC,MAAM,cACjBC,EAAEC,UAAUC,QAAQb,GACfA,EAAEc,sBACLH,EAAEI,KAAKb,OAAOK,MAAMC,QAAS,CAC3BQ,SAAU,OACVC,UAAW,CACTC,iBAAiB,GAEnBC,QAAS,SAASC,GAIhB,GAHAf,QAAQC,IAAI,cAAec,GAC3BpB,EAAIS,OAAOC,MAAM,cACjBC,EAAEC,UAAUC,QAAQb,EAAG,CAACoB,KACnBpB,EAAEc,qBAIL,OAHIM,EAAKC,iBACPV,EAAE,UAAUW,KAAK,iCAAiCC,KAAK,QAASH,EAAKC,iBAEhEG,EAAQvB,IAGnBwB,MAAO,SAASC,GAId,GAHArB,QAAQC,IAAI,uCAAwCoB,GACpD1B,EAAIS,OAAOC,MAAM,cACjBC,EAAEC,UAAUC,QAAQb,EAAG,CAAC0B,KACnB1B,EAAEc,uBACiB,IAAlBY,EAAOC,QACTH,EAAQvB,GAENyB,EAAOE,cAAgB,UAAWF,EAAOE,cAA8C,MAA9BF,EAAOE,aAAaH,OAC/ED,EAAQvB,GAENyB,EAAOE,cAAgB,SAAUF,EAAOE,cAE1C,OADAjB,EAAE,aAAakB,KAAKH,EAAOE,aAAaC,MACjClB,EAAET,QAAQW,QAAQ,YAM5B,GAGTW,EAAU,SAASvB,GACjB,IACA6B,EAAWnB,EAAE,UAAUY,KAAK,UAQ5B,OAPIO,EAASC,MAAM,OACjBD,EAAW7B,EAEX6B,GAAsB7B,EAExBI,QAAQC,IAAI,sBAAuBwB,GACnCnB,EAAE,UAAUY,KAAK,SAAUO,GACpBnB,EAAE,UAAUqB,UAGrBrB,EAAEC,UAAUqB,MAAM,WAChB,OAAOtB,EAAE,aAAauB,GAAG,QAASnC,MAGnCoC,KAAKC"} \ No newline at end of file +{"version":3,"sources":["ssl.js"],"names":["sendUrl","tryssl","e","path","window","location","pathname","console","log","datas","sslHost","jQuery","Event","$","document","trigger","isDefaultPrevented","ajax","dataType","xhrFields","withCredentials","success","data","ajax_auth_token","find","attr","error","result","status","responseJSON","html","form_url","match","submit","ready","on","call","this"],"mappings":"CACA,WACE,IAAIA,EAASC,EAEbA,EAAS,WACP,IAAIC,EAAGC,EA0CP,OAzCAA,EAAOC,OAAOC,SAASC,SACvBC,QAAQC,IAAI,WAAYL,GACxBI,QAAQC,IAAI,eAAgBJ,OAAOK,MAAMC,SACzCR,EAAIS,OAAOC,MAAM,cACjBC,EAAEC,UAAUC,QAAQb,GACfA,EAAEc,sBACLH,EAAEI,KAAKb,OAAOK,MAAMC,QAAS,CAC3BQ,SAAU,OACVC,UAAW,CACTC,iBAAiB,GAEnBC,QAAS,SAASC,GAIhB,GAHAf,QAAQC,IAAI,cAAec,GAC3BpB,EAAIS,OAAOC,MAAM,cACjBC,EAAEC,UAAUC,QAAQb,EAAG,CAACoB,KACnBpB,EAAEc,qBAIL,OAHIM,EAAKC,iBACPV,EAAE,UAAUW,KAAK,iCAAiCC,KAAK,QAASH,EAAKC,iBAEhEvB,EAAQG,IAGnBuB,MAAO,SAASC,GAId,GAHApB,QAAQC,IAAI,uCAAwCmB,GACpDzB,EAAIS,OAAOC,MAAM,cACjBC,EAAEC,UAAUC,QAAQb,EAAG,CAACyB,KACnBzB,EAAEc,uBACiB,IAAlBW,EAAOC,QACT5B,EAAQG,GAENwB,EAAOE,cAAgB,UAAWF,EAAOE,cAA8C,MAA9BF,EAAOE,aAAaH,OAC/E1B,EAAQG,GAENwB,EAAOE,cAAgB,SAAUF,EAAOE,cAE1C,OADAhB,EAAE,aAAaiB,KAAKH,EAAOE,aAAaC,MACjCjB,EAAET,QAAQW,QAAQ,YAM5B,GAGTf,EAAU,SAASG,GACjB,IAAI4B,EASJ,OARAA,EAAWlB,EAAE,UAAUY,KAAK,WACfO,MAAM,OACjBD,EAAW5B,EAEX4B,GAAsB5B,EAExBI,QAAQC,IAAI,sBAAuBuB,GACnClB,EAAE,UAAUY,KAAK,SAAUM,GACpBlB,EAAE,UAAUoB,UAGrBpB,EAAEC,UAAUoB,MAAM,WAChB,OAAOrB,EAAE,aAAasB,GAAG,QAASlC,OAGnCmC,KAAKC"} \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/sslChoice.min.js b/lemonldap-ng-portal/site/htdocs/static/common/js/sslChoice.min.js index 5a4c006aff303c8db972f2eba42f2cf2b892a6b1..36c04f926dcd4d49dc2e94dd373c67b31fccad85 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/sslChoice.min.js +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/sslChoice.min.js @@ -1 +1 @@ -!function(){var e=function(e){var t,n=$(e.currentTarget).closest("form"),o=window.location.pathname;return console.log("path -> ",o),console.log("Call URL -> ",window.datas.sslHost),t=jQuery.Event("sslAttempt"),$(document).trigger(t),t.isDefaultPrevented()||$.ajax(window.datas.sslHost,{dataType:"json",xhrFields:{withCredentials:!0},success:function(e){if(console.log("Success -> ",e),t=jQuery.Event("sslSuccess"),$(document).trigger(t,[e]),!t.isDefaultPrevented())return e.ajax_auth_token&&n.find('input[name="ajax_auth_token"]').attr("value",e.ajax_auth_token),r(n,o)},error:function(e){if(console.log("Error during AJAX SSL authentication",e),t=jQuery.Event("sslFailure"),$(document).trigger(t,[e]),!t.isDefaultPrevented()&&(0===e.status&&r(n,o),e.responseJSON&&"error"in e.responseJSON&&"9"===e.responseJSON.error&&r(n,o),e.responseJSON&&"html"in e.responseJSON))return $("#errormsg").html(e.responseJSON.html),$(window).trigger("load")}}),!1},r=function(e,t){var n=e.attr("action");return n.match(/^#$/)?n=t:n+=t,console.log("form action URL -> ",n),e.attr("action",n),e.submit()};$(document).ready(function(){if(!window._ssl_js_done)return window._ssl_js_done=!0,$(".sslclick").on("click",e)})}.call(this); \ No newline at end of file +(function(){var r,e;e=function(e){var t,n,o;return n=$(e.currentTarget).closest("form"),o=window.location.pathname,console.log("path -> ",o),console.log("Call URL -> ",window.datas.sslHost),t=jQuery.Event("sslAttempt"),$(document).trigger(t),t.isDefaultPrevented()||$.ajax(window.datas.sslHost,{dataType:"json",xhrFields:{withCredentials:!0},success:function(e){if(console.log("Success -> ",e),t=jQuery.Event("sslSuccess"),$(document).trigger(t,[e]),!t.isDefaultPrevented())return e.ajax_auth_token&&n.find('input[name="ajax_auth_token"]').attr("value",e.ajax_auth_token),r(n,o)},error:function(e){if(console.log("Error during AJAX SSL authentication",e),t=jQuery.Event("sslFailure"),$(document).trigger(t,[e]),!t.isDefaultPrevented()&&(0===e.status&&r(n,o),e.responseJSON&&"error"in e.responseJSON&&"9"===e.responseJSON.error&&r(n,o),e.responseJSON&&"html"in e.responseJSON))return $("#errormsg").html(e.responseJSON.html),$(window).trigger("load")}}),!1},r=function(e,t){var n;return(n=e.attr("action")).match(/^#$/)?n=t:n+=t,console.log("form action URL -> ",n),e.attr("action",n),e.submit()},$(document).ready(function(){if(!window._ssl_js_done)return window._ssl_js_done=!0,$(".sslclick").on("click",e)})}).call(this); \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/sslChoice.min.js.map b/lemonldap-ng-portal/site/htdocs/static/common/js/sslChoice.min.js.map index 8b5ef521692f8ad8358730e9027844f23dbfa3dd..9f7fbdfc457d9777b7cb977ce6e0090c4497b1a1 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/sslChoice.min.js.map +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/sslChoice.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["sslChoice.js"],"names":["tryssl","myevent","e","form","$","currentTarget","closest","path","window","location","pathname","console","log","datas","sslHost","jQuery","Event","document","trigger","isDefaultPrevented","ajax","dataType","xhrFields","withCredentials","success","data","ajax_auth_token","find","attr","sendUrl","error","result","status","responseJSON","html","form_url","match","submit","ready","_ssl_js_done","on","call","this"],"mappings":"CACA,WACE,IAEAA,EAAS,SAASC,GAChB,IAAIC,EACJC,EAAOC,EAAEH,EAAQI,eAAeC,QAAQ,QACxCC,EAAOC,OAAOC,SAASC,SAyCvB,OAxCAC,QAAQC,IAAI,WAAYL,GACxBI,QAAQC,IAAI,eAAgBJ,OAAOK,MAAMC,SACzCZ,EAAIa,OAAOC,MAAM,cACjBZ,EAAEa,UAAUC,QAAQhB,GACfA,EAAEiB,sBACLf,EAAEgB,KAAKZ,OAAOK,MAAMC,QAAS,CAC3BO,SAAU,OACVC,UAAW,CACTC,iBAAiB,GAEnBC,QAAS,SAASC,GAIhB,GAHAd,QAAQC,IAAI,cAAea,GAC3BvB,EAAIa,OAAOC,MAAM,cACjBZ,EAAEa,UAAUC,QAAQhB,EAAG,CAACuB,KACnBvB,EAAEiB,qBAIL,OAHIM,EAAKC,iBACPvB,EAAKwB,KAAK,iCAAiCC,KAAK,QAASH,EAAKC,iBAEzDG,EAAQ1B,EAAMI,IAGzBuB,MAAO,SAASC,GAId,GAHApB,QAAQC,IAAI,uCAAwCmB,GACpD7B,EAAIa,OAAOC,MAAM,cACjBZ,EAAEa,UAAUC,QAAQhB,EAAG,CAAC6B,KACnB7B,EAAEiB,uBACiB,IAAlBY,EAAOC,QACTH,EAAQ1B,EAAMI,GAEZwB,EAAOE,cAAgB,UAAWF,EAAOE,cAA8C,MAA9BF,EAAOE,aAAaH,OAC/ED,EAAQ1B,EAAMI,GAEZwB,EAAOE,cAAgB,SAAUF,EAAOE,cAE1C,OADA7B,EAAE,aAAa8B,KAAKH,EAAOE,aAAaC,MACjC9B,EAAEI,QAAQU,QAAQ,YAM5B,GAGTW,EAAU,SAAS1B,EAAMI,GACvB,IACA4B,EAAWhC,EAAKyB,KAAK,UAQrB,OAPIO,EAASC,MAAM,OACjBD,EAAW5B,EAEX4B,GAAsB5B,EAExBI,QAAQC,IAAI,sBAAuBuB,GACnChC,EAAKyB,KAAK,SAAUO,GACbhC,EAAKkC,UAGdjC,EAAEa,UAAUqB,MAAM,WAChB,IAAK9B,OAAO+B,aAEV,OADA/B,OAAO+B,cAAe,EACfnC,EAAE,aAAaoC,GAAG,QAASxC,MAIrCyC,KAAKC"} \ No newline at end of file +{"version":3,"sources":["sslChoice.js"],"names":["sendUrl","tryssl","myevent","e","form","path","$","currentTarget","closest","window","location","pathname","console","log","datas","sslHost","jQuery","Event","document","trigger","isDefaultPrevented","ajax","dataType","xhrFields","withCredentials","success","data","ajax_auth_token","find","attr","error","result","status","responseJSON","html","form_url","match","submit","ready","_ssl_js_done","on","call","this"],"mappings":"CACA,WACE,IAAIA,EAASC,EAEbA,EAAS,SAASC,GAChB,IAAIC,EAAGC,EAAMC,EA2Cb,OA1CAD,EAAOE,EAAEJ,EAAQK,eAAeC,QAAQ,QACxCH,EAAOI,OAAOC,SAASC,SACvBC,QAAQC,IAAI,WAAYR,GACxBO,QAAQC,IAAI,eAAgB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ng-portal/site/htdocs/static/common/js/u2fcheck.min.js index 5a6946b3c537f211566c7a7f2edc8b3e631b93c0..2ff9019f3f583e707cd4486ef74d039a453a1ecb 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/u2fcheck.min.js +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/u2fcheck.min.js @@ -1 +1 @@ -!function(){var e=function(){return u2f.sign(window.datas.appId,window.datas.challenge,window.datas.registeredKeys,function(e){return $("#verify-data").val(JSON.stringify(e)),$("#verify-challenge").val(window.datas.challenge),$("#verify-form").submit()})};$(document).ready(function(){return setTimeout(e,1e3)})}.call(this); \ No newline at end of file +(function(){var e;e=function(){return u2f.sign(window.datas.appId,window.datas.challenge,window.datas.registeredKeys,function(e){return $("#verify-data").val(JSON.stringify(e)),$("#verify-challenge").val(window.datas.challenge),$("#verify-form").submit()})},$(document).ready(function(){return setTimeout(e,1e3)})}).call(this); \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/u2fcheck.min.js.map b/lemonldap-ng-portal/site/htdocs/static/common/js/u2fcheck.min.js.map index b7a91adb56122b375ce5d398ee8043e97af5638e..2543bec2a3b1cd015acc602ae792266053870524 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/u2fcheck.min.js.map +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/u2fcheck.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["u2fcheck.js"],"names":["check","u2f","sign","window","datas","appId","challenge","registeredKeys","data","$","val","JSON","stringify","submit","document","ready","setTimeout","call","this"],"mappings":"CAMA,WACE,IAEAA,EAAQ,WACN,OAAOC,IAAIC,KAAKC,OAAOC,MAAMC,MAAOF,OAAOC,MAAME,UAAWH,OAAOC,MAAMG,eAAgB,SAASC,GAGhG,OAFAC,EAAE,gBAAgBC,IAAIC,KAAKC,UAAUJ,IACrCC,EAAE,qBAAqBC,IAAIP,OAAOC,MAAME,WACjCG,EAAE,gBAAgBI,YAI7BJ,EAAEK,UAAUC,MAAM,WAChB,OAAOC,WAAWhB,EAAO,QAG1BiB,KAAKC"} \ No newline at end of file +{"version":3,"sources":["u2fcheck.js"],"names":["check","u2f","sign","window","datas","appId","challenge","registeredKeys","data","$","val","JSON","stringify","submit","document","ready","setTimeout","call","this"],"mappings":"CAMA,WACE,IAAIA,EAEJA,EAAQ,WACN,OAAOC,IAAIC,KAAKC,OAAOC,MAAMC,MAAOF,OAAOC,MAAME,UAAWH,OAAOC,MAAMG,eAAgB,SAASC,GAGhG,OAFAC,EAAE,gBAAgBC,IAAIC,KAAKC,UAAUJ,IACrCC,EAAE,qBAAqBC,IAAIP,OAAOC,MAAME,WACjCG,EAAE,gBAAgBI,YAI7BJ,EAAEK,UAAUC,MAAM,WAChB,OAAOC,WAAWhB,EAAO,SAG1BiB,KAAKC"} \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/webauthncheck.min.js b/lemonldap-ng-portal/site/htdocs/static/common/js/webauthncheck.min.js index e33535e372ca1438d94e1104a97b3baa90314672..b2427cd216f1502f9981aa5c9125fa5a480eb55c 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/webauthncheck.min.js +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/webauthncheck.min.js @@ -1 +1 @@ -!function(){var n=function(e,t){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-"+t),"positive"===t&&(t="success"),$("#color").addClass("alert-"+t)},r=function(e){return"unsupported"!==e.name?n("webAuthnBrowserFailed","danger"):n("webAuthnUnsupported","warning")},e=function(){var e,t=jQuery.Event("webauthnAttempt");if($(document).trigger(t),!t.isDefaultPrevented())return n("webAuthnBrowserInProgress","warning"),e=window.datas.request,WebAuthnUI.WebAuthnUI.getCredential(e).then(function(e){if(t=jQuery.Event("webauthnSuccess"),$(document).trigger(t,[e]),!t.isDefaultPrevented())return $("#credential").val(JSON.stringify(e)),$("#verify-form").submit()}).catch(function(e){if(t=jQuery.Event("webauthnFailure"),$(document).trigger(t,[e]),!t.isDefaultPrevented())return r(e)})};$(document).ready(function(){return setTimeout(e,1e3),$("#retrybutton").on("click",e)})}.call(this); \ No newline at end of file +(function(){var e,n,r;n=function(e,t){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-"+t),"positive"===t&&(t="success"),$("#color").addClass("alert-"+t)},r=function(e){switch(e.name){case"unsupported":return n("webAuthnUnsupported","warning");default:return n("webAuthnBrowserFailed","danger")}},e=function(){var t,e;if(t=jQuery.Event("webauthnAttempt"),$(document).trigger(t),!t.isDefaultPrevented())return n("webAuthnBrowserInProgress","warning"),e=window.datas.request,WebAuthnUI.WebAuthnUI.getCredential(e).then(function(e){if(t=jQuery.Event("webauthnSuccess"),$(document).trigger(t,[e]),!t.isDefaultPrevented())return $("#credential").val(JSON.stringify(e)),$("#verify-form").submit()}).catch(function(e){if(t=jQuery.Event("webauthnFailure"),$(document).trigger(t,[e]),!t.isDefaultPrevented())return r(e)})},$(document).ready(function(){return setTimeout(e,1e3),$("#retrybutton").on("click",e)})}).call(this); \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/webauthncheck.min.js.map b/lemonldap-ng-portal/site/htdocs/static/common/js/webauthncheck.min.js.map index 3262456c5fdee48107fb3594bdd3c08001b61d42..c0868bc3d2aec4525b0d845f66bebfe8dc1d8359 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/webauthncheck.min.js.map +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/webauthncheck.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["webauthncheck.js"],"names":["setMsg","msg","level","$","attr","html","window","translate","removeClass","addClass","webAuthnError","error","name","check","request","e","jQuery","Event","document","trigger","isDefaultPrevented","datas","WebAuthnUI","getCredential","then","response","val","JSON","stringify","submit","ready","setTimeout","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,EAAgB,SAASC,GACvB,MACO,gBADCA,EAAMC,KAIHZ,EAAO,wBAAyB,UAFhCA,EAAO,sBAAuB,YAM3Ca,EAAQ,WACN,IAAOC,EACPC,EAAIC,OAAOC,MAAM,mBAEjB,GADAd,EAAEe,UAAUC,QAAQJ,IACfA,EAAEK,qBAGL,OAFApB,EAAO,4BAA6B,WACpCc,EAAUR,OAAOe,MAAMP,QAChBQ,WAAWA,WAAWC,cAAcT,GAASU,KAAK,SAASC,GAGhE,GAFAV,EAAIC,OAAOC,MAAM,mBACjBd,EAAEe,UAAUC,QAAQJ,EAAG,CAACU,KACnBV,EAAEK,qBAEL,OADAjB,EAAE,eAAeuB,IAAIC,KAAKC,UAAUH,IAC7BtB,EAAE,gBAAgB0B,WAEnB,MAAE,SAASlB,GAGnB,GAFAI,EAAIC,OAAOC,MAAM,mBACjBd,EAAEe,UAAUC,QAAQJ,EAAG,CAACJ,KACnBI,EAAEK,qBACL,OAAOV,EAAcC,MAM7BR,EAAEe,UAAUY,MAAM,WAEhB,OADAC,WAAWlB,EAAO,KACXV,EAAE,gBAAgB6B,GAAG,QAASnB,MAGtCoB,KAAKC"} \ No newline at end of file +{"version":3,"sources":["webauthncheck.js"],"names":["check","setMsg","webAuthnError","msg","level","$","attr","html","window","translate","removeClass","addClass","error","name","e","request","jQuery","Event","document","trigger","isDefaultPrevented","datas","WebAuthnUI","getCredential","then","response","val","JSON","stringify","submit","ready","setTimeout","on","call","this"],"mappings":"CAMA,WACE,IAAIA,EAAOC,EAAQC,EAEnBD,EAAS,SAASE,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,IAGzCF,EAAgB,SAASU,GACvB,OAAQA,EAAMC,MACZ,IAAK,cACH,OAAOZ,EAAO,sBAAuB,WACvC,QACE,OAAOA,EAAO,wBAAyB,YAI7CD,EAAQ,WACN,IAAIc,EAAGC,EAGP,GAFAD,EAAIE,OAAOC,MAAM,mBACjBZ,EAAEa,UAAUC,QAAQL,IACfA,EAAEM,qBAGL,OAFAnB,EAAO,4BAA6B,WACpCc,EAAUP,OAAOa,MAAMN,QAChBO,WAAWA,WAAWC,cAAcR,GAASS,KAAK,SAASC,GAGhE,GAFAX,EAAIE,OAAOC,MAAM,mBACjBZ,EAAEa,UAAUC,QAAQL,EAAG,CAACW,KACnBX,EAAEM,qBAEL,OADAf,EAAE,eAAeqB,IAAIC,KAAKC,UAAUH,IAC7BpB,EAAE,gBAAgBwB,WAEnB,MAAE,SAASjB,GAGnB,GAFAE,EAAIE,OAAOC,MAAM,mBACjBZ,EAAEa,UAAUC,QAAQL,EAAG,CAACF,KACnBE,EAAEM,qBACL,OAAOlB,EAAcU,MAM7BP,EAAEa,UAAUY,MAAM,WAEhB,OADAC,WAAW/B,EAAO,KACXK,EAAE,gBAAgB2B,GAAG,QAAShC,OAGtCiC,KAAKC"} \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/webauthnregistration.min.js b/lemonldap-ng-portal/site/htdocs/static/common/js/webauthnregistration.min.js index 15b441a0a40c7b5f671f382c0caea756f987f2d8..d598ea26943ccbd6a6888a9e7bb99b6a766ecdcd 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/webauthnregistration.min.js +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/webauthnregistration.min.js @@ -1 +1 @@ -!function(){var n=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)},a=function(e,r,t){if(console.log("Error",t),(t=JSON.parse(e.responseText))&&t.error)return t=t.error.replace(/.* /,""),console.log("Returned error",t),n(t,"danger")},s=function(e){return"unsupported"!==e.name?n("webAuthnBrowserFailed","danger"):n("webAuthnUnsupported","warning")},e=function(){return $.ajax({type:"POST",url:portal+"2fregisters/webauthn/registrationchallenge",data:{},dataType:"json",error:a,success:function(r){var e=r.request,t=jQuery.Event("webauthnRegistrationAttempt");if($(document).trigger(t),!t.isDefaultPrevented())return n("webAuthnRegisterInProgress","warning"),$("#u2fPermission").show(),WebAuthnUI.WebAuthnUI.createCredential(e).then(function(e){if(t=jQuery.Event("webauthnRegistrationSuccess"),$(document).trigger(t,[e]),!t.isDefaultPrevented())return $.ajax({type:"POST",url:portal+"2fregisters/webauthn/registration",data:{state_id:r.state_id,credential:JSON.stringify(e),keyName:$("#keyName").val()},dataType:"json",success:function(e){return e.error?e.error.match(/badName/)?n(e.error,"danger"):n("webAuthnRegisterFailed","danger"):e.result&&(t=jQuery.Event("mfaAdded"),$(document).trigger(t,[{type:"webauthn"}]),!t.isDefaultPrevented())?n("yourKeyIsRegistered","positive"):void 0},error:a})}).catch(function(e){if(t=jQuery.Event("webauthnRegistrationFailure"),$(document).trigger(t,[e]),!t.isDefaultPrevented())return s(e)})}})},r=function(){return $.ajax({type:"POST",url:portal+"2fregisters/webauthn/verificationchallenge",data:{},dataType:"json",error:a,success:function(r){var e=r.request;return n("webAuthnBrowserInProgress","warning"),WebAuthnUI.WebAuthnUI.getCredential(e).then(function(e){return $.ajax({type:"POST",url:portal+"2fregisters/webauthn/verification",data:{state_id:r.state_id,credential:JSON.stringify(e)},dataType:"json",success:function(e){return e.error?n("webAuthnFailed","danger"):e.result?n("yourKeyIsVerified","positive"):void 0},error:a})}).catch(s)}})};$(document).ready(function(){return $("#u2fPermission").hide(),$("#register").on("click",e),$("#verify").on("click",r),$("#goback").attr("href",portal)})}.call(this); \ No newline at end of file +(function(){var n,e,a,r,s;a=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)},n=function(e,r,t){var n;if(console.log("Error",t),(n=JSON.parse(e.responseText))&&n.error)return n=n.error.replace(/.* /,""),console.log("Returned error",n),a(n,"danger")},s=function(e){switch(e.name){case"unsupported":return a("webAuthnUnsupported","warning");default:return a("webAuthnBrowserFailed","danger")}},e=function(){return $.ajax({type:"POST",url:portal+"2fregisters/webauthn/registrationchallenge",data:{},dataType:"json",error:n,success:function(r){var t,e;if(e=r.request,t=jQuery.Event("webauthnRegistrationAttempt"),$(document).trigger(t),!t.isDefaultPrevented())return a("webAuthnRegisterInProgress","warning"),$("#u2fPermission").show(),WebAuthnUI.WebAuthnUI.createCredential(e).then(function(e){if(t=jQuery.Event("webauthnRegistrationSuccess"),$(document).trigger(t,[e]),!t.isDefaultPrevented())return $.ajax({type:"POST",url:portal+"2fregisters/webauthn/registration",data:{state_id:r.state_id,credential:JSON.stringify(e),keyName:$("#keyName").val()},dataType:"json",success:function(e){return e.error?e.error.match(/badName/)?a(e.error,"danger"):a("webAuthnRegisterFailed","danger"):e.result&&(t=jQuery.Event("mfaAdded"),$(document).trigger(t,[{type:"webauthn"}]),!t.isDefaultPrevented())?a("yourKeyIsRegistered","positive"):void 0},error:n})}).catch(function(e){if(t=jQuery.Event("webauthnRegistrationFailure"),$(document).trigger(t,[e]),!t.isDefaultPrevented())return s(e)})}})},r=function(){return $.ajax({type:"POST",url:portal+"2fregisters/webauthn/verificationchallenge",data:{},dataType:"json",error:n,success:function(r){var e;return e=r.request,a("webAuthnBrowserInProgress","warning"),WebAuthnUI.WebAuthnUI.getCredential(e).then(function(e){return $.ajax({type:"POST",url:portal+"2fregisters/webauthn/verification",data:{state_id:r.state_id,credential:JSON.stringify(e)},dataType:"json",success:function(e){return e.error?a("webAuthnFailed","danger"):e.result?a("yourKeyIsVerified","positive"):void 0},error:n})}).catch(function(e){return s(e)})}})},$(document).ready(function(){return $("#u2fPermission").hide(),$("#register").on("click",e),$("#verify").on("click",r),$("#goback").attr("href",portal)})}).call(this); \ No newline at end of file diff --git a/lemonldap-ng-portal/site/htdocs/static/common/js/webauthnregistration.min.js.map b/lemonldap-ng-portal/site/htdocs/static/common/js/webauthnregistration.min.js.map index 25264ac37f8263ccc9ecf9060c0ac2b96f49e2dc..7a28506f262e746790f5a1c3d90cfa55d83d2e19 100644 --- a/lemonldap-ng-portal/site/htdocs/static/common/js/webauthnregistration.min.js.map +++ b/lemonldap-ng-portal/site/htdocs/static/common/js/webauthnregistration.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["webauthnregistration.js"],"names":["setMsg","msg","level","$","attr","html","window","translate","removeClass","addClass","displayError","j","status","err","console","log","res","JSON","parse","responseText","error","replace","webAuthnError","name","register","ajax","type","url","portal","data","dataType","success","ch","request","e","jQuery","Event","document","trigger","isDefaultPrevented","show","WebAuthnUI","createCredential","then","response","state_id","credential","stringify","keyName","val","resp","match","result","verify","getCredential","ready","hide","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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B,KAAK,CACZC,KAAM,OACNC,IAAKC,OAAS,6CACdC,KAAM,GACNC,SAAU,OACVV,MAAOV,EACPqB,QAAS,SAASC,GAChB,IACAC,EAAUD,EAAGC,QAEb,OADAjC,EAAO,4BAA6B,WAC7ByC,WAAWA,WAAWa,cAAcrB,GAASU,KAAK,SAASC,GAChE,OAAOzC,EAAEsB,KAAK,CACZC,KAAM,OACNC,IAAKC,OAAS,oCACdC,KAAM,CACJgB,SAAUb,EAAGa,SACbC,WAAY7B,KAAK8B,UAAUH,IAE7Bd,SAAU,OACVC,QAAS,SAASmB,GAChB,OAAIA,EAAK9B,MACApB,EAAO,iBAAkB,UACvBkD,EAAKE,OACPpD,EAAO,oBAAqB,iBAD9B,GAIToB,MAAOV,MAED,MACDY,OAMfnB,EAAEkC,UAAUkB,MAAM,WAIhB,OAHApD,EAAE,kBAAkBqD,OACpBrD,EAAE,aAAasD,GAAG,QAASjC,GAC3BrB,EAAE,WAAWsD,GAAG,QAASJ,GAClBlD,EAAE,WAAWC,KAAK,OAAQwB,WAGlC8B,KAAKC"} \ No newline at end of file +{"version":3,"sources":["webauthnregistration.js"],"names":["displayError","register","setMsg","verify","webAuthnError","msg","level","$","attr","html","window","translate","removeClass","addClass","j","status","err","res","console","log","JSON","parse","responseText","error","replace","name","ajax","type","url","portal","data","dataType","success","ch","e","request","jQuery","Event","document","trigger","isDefaultPrevented","show","WebAuthnUI","createCredential","then","response","state_id","credential","stringify","keyName","val","resp","match","result","getCredential","ready","hide","on","call","this"],"mappings":"CAMA,WACE,IAAIA,EAAcC,EAAUC,EAAQC,EAAQC,EAE5CF,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,EA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qB,MAAOvB,MAGH,MAAE,SAASuB,GAGnB,GAFAW,EAAIE,OAAOC,MAAM,+BACjB9B,EAAE+B,UAAUC,QAAQL,EAAG,CAACX,KACnBW,EAAEM,qBACL,OAAOpC,EAAcmB,SAQjCpB,EAAS,WACP,OAAOI,EAAEmB,KAAK,CACZC,KAAM,OACNC,IAAKC,OAAS,6CACdC,KAAM,GACNC,SAAU,OACVR,MAAOvB,EACPgC,QAAS,SAASC,GAChB,IAAIE,EAGJ,OAFAA,EAAUF,EAAGE,QACbjC,EAAO,4BAA6B,WAC7BwC,WAAWA,WAAWY,cAAcnB,GAASS,KAAK,SAASC,GAChE,OAAOtC,EAAEmB,KAAK,CACZC,KAAM,OACNC,IAAKC,OAAS,oCACdC,KAAM,CACJgB,SAAUb,EAAGa,SACbC,WAAY3B,KAAK4B,UAAUH,IAE7Bd,SAAU,OACVC,QAAS,SAASmB,GAChB,OAAIA,EAAK5B,MACArB,EAAO,iBAAkB,UACvBiD,EAAKE,OACPnD,EAAO,oBAAqB,iBAD9B,GAITqB,MAAOvB,MAED,MAAE,SAASuB,GACnB,OAAOnB,EAAcmB,SAM7BhB,EAAE+B,UAAUiB,MAAM,WAIhB,OAHAhD,EAAE,kBAAkBiD,OACpBjD,EAAE,aAAakD,GAAG,QAASxD,GAC3BM,EAAE,WAAWkD,GAAG,QAAStD,GAClBI,EAAE,WAAWC,KAAK,OAAQqB,YAGlC6B,KAAKC"} \ No newline at end of file diff --git a/lemonldap-ng-portal/site/templates/bootstrap/password.tpl b/lemonldap-ng-portal/site/templates/bootstrap/password.tpl index 9f53ba52c3dfffed5c6cd7c69f8b425a9f2156e4..0344c8f6d76932dcf280270d8bc2cb232246337d 100644 --- a/lemonldap-ng-portal/site/templates/bootstrap/password.tpl +++ b/lemonldap-ng-portal/site/templates/bootstrap/password.tpl @@ -94,6 +94,9 @@ + + +