diff --git a/extension/dist/lesspass.js b/extension/dist/lesspass.js index ed9cc8e..9d4cb13 100644 --- a/extension/dist/lesspass.js +++ b/extension/dist/lesspass.js @@ -22351,6 +22351,7 @@ exports.default = { return { masterPassword: '', encryptedLogin: '', + fingerprint: '', generatedPassword: '', cleanTimeout: null }; @@ -22433,6 +22434,7 @@ exports.default = { _this3.masterPassword = ''; _this3.encryptedLogin = ''; _this3.generatedPassword = ''; + _this3.fingerprint = ''; }, 1000 * seconds); }, renderPassword: function renderPassword() { @@ -22442,6 +22444,7 @@ exports.default = { this.generatedPassword = ''; return; } + this.fingerprint = this.masterPassword; var password = new _password2.default(this.password); _lesspass2.default.renderPassword(this.encryptedLogin, this.password.site, password.options).then(function (generatedPassword) { _this4.$store.dispatch('PASSWORD_GENERATED'); @@ -34983,7 +34986,7 @@ module.exports={render:function (){with(this) { } }), " ", _h('fingerprint', { attrs: { - "fingerprint": masterPassword + "fingerprint": fingerprint }, nativeOn: { "click": function($event) { diff --git a/extension/dist/lesspass.min.js b/extension/dist/lesspass.min.js index ac65b7a..06a72d0 100644 --- a/extension/dist/lesspass.min.js +++ b/extension/dist/lesspass.min.js @@ -10,10 +10,10 @@ case"1.2.840.10045.2.1":return a.subjectPrivateKey=a.subjectPublicKey,{type:"ec" a(r,d),r.parent&&(r.parent.elm=r.elm,c(r)))for(var l=0;l-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var r=" "+e.getAttribute("class")+" ";r.indexOf(" "+t+" ")<0&&e.setAttribute("class",(r+t).trim())}}function Rt(e,t){if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var r=" "+e.getAttribute("class")+" ",n=" "+t+" ";r.indexOf(n)>=0;)r=r.replace(n," ");e.setAttribute("class",r.trim())}}function Ot(e){Fn(function(){Fn(e)})}function Pt(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),Ct(e,t)}function Tt(e,t){e._transitionClasses&&o(e._transitionClasses,t),Rt(e,t)}function It(e,t,r){var n=Bt(e,t),i=n.type,o=n.timeout,a=n.propCount;if(!i)return r();var s=i===Nn?Un:zn,f=0,c=function(){e.removeEventListener(s,u),r()},u=function(t){t.target===e&&++f>=a&&c()};setTimeout(function(){f0&&(r=Nn,u=a,d=o.length):t===Ln?c>0&&(r=Ln,u=c,d=f.length):(u=Math.max(a,c),r=u>0?a>c?Nn:Ln:null,d=r?r===Nn?o.length:f.length:0);var h=r===Nn&&$n.test(n[Dn+"Property"]);return{type:r,timeout:u,propCount:d,hasTransform:h}}function jt(e,t){return Math.max.apply(null,t.map(function(t,r){return Nt(t)+Nt(e[r])}))}function Nt(e){return 1e3*Number(e.slice(0,-1))}function Lt(e){var t=e.elm;t._leaveCb&&(t._leaveCb.cancelled=!0,t._leaveCb());var r=Ut(e.data.transition);if(r&&!t._enterCb&&1===t.nodeType){var n=r.css,i=r.type,o=r.enterClass,a=r.enterActiveClass,s=r.appearClass,f=r.appearActiveClass,c=r.beforeEnter,u=r.enter,d=r.afterEnter,h=r.enterCancelled,l=r.beforeAppear,p=r.appear,b=r.afterAppear,v=r.appearCancelled,m=Yr.$vnode,y=m&&m.parent?m.parent.context:Yr,g=!y._isMounted||!e.isRootInsert;if(!g||p||""===p){var w=g?s:o,_=g?f:a,S=g?l||c:c,E=g&&"function"==typeof p?p:u,x=g?b||d:d,k=g?v||h:h,M=n!==!1&&!yr,A=E&&(E._length||E.length)>1,C=t._enterCb=qt(function(){M&&Tt(t,_),C.cancelled?(M&&Tt(t,w),k&&k(t)):x&&x(t),t._enterCb=null});e.data.show||Y(e.data.hook||(e.data.hook={}),"insert",function(){var r=t.parentNode,n=r&&r._pending&&r._pending[e.key];n&&n.tag===e.tag&&n.elm._leaveCb&&n.elm._leaveCb(),E&&E(t,C)},"transition-insert"),S&&S(t),M&&(Pt(t,w),Pt(t,_),Ot(function(){Tt(t,w),C.cancelled||A||It(t,i,C)})),e.data.show&&E&&E(t,C),M||A||C()}}}function Dt(e,t){function r(){v.cancelled||(e.data.show||((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),c&&c(n),p&&(Pt(n,s),Pt(n,f),Ot(function(){Tt(n,s),v.cancelled||b||It(n,a,v)})),u&&u(n,v),p||b||v())}var n=e.elm;n._enterCb&&(n._enterCb.cancelled=!0,n._enterCb());var i=Ut(e.data.transition);if(!i)return t();if(!n._leaveCb&&1===n.nodeType){var o=i.css,a=i.type,s=i.leaveClass,f=i.leaveActiveClass,c=i.beforeLeave,u=i.leave,d=i.afterLeave,h=i.leaveCancelled,l=i.delayLeave,p=o!==!1&&!yr,b=u&&(u._length||u.length)>1,v=n._leaveCb=qt(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),p&&Tt(n,f),v.cancelled?(p&&Tt(n,s),h&&h(n)):(t(),d&&d(n)),n._leaveCb=null});l?l(r):r()}}function Ut(e){if(e){if("object"==typeof e){var t={};return e.css!==!1&&d(t,Vn(e.name||"v")),d(t,e),t}return"string"==typeof e?Vn(e):void 0}}function qt(e){var t=!1;return function(){t||(t=!0,e())}}function zt(e,r,n){var i=r.value,o=e.multiple;if(o&&!Array.isArray(i))return void("production"!==t.env.NODE_ENV&&Qr('