{"version":3,"sources":["webpack:///./src/components/Login.vue","webpack:///src/components/Login.vue","webpack:///./src/components/Login.vue?544a","webpack:///./src/components/Login.vue?7434","webpack:///./src/assets/logo.png","webpack:///./src/components/Login.vue?02ba"],"names":["render","_vm","this","_c","_self","staticClass","_m","_v","_s","appTitle","on","$event","preventDefault","login","apply","arguments","class","errorMessageClass","style","errorMessageStyle","attrs","errorMessage","directives","name","rawName","value","user","expression","usernameLabel","domProps","target","composing","isPasswordVisible","password","passwordLabel","showPasswordReset","Array","isArray","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","slice","_q","showPassword","readablePassword","_e","submitted","resetPassword","togglePasswordReset","secondaryLogo","staticRenderFns","require","UNAUTHORIZED","data","loginFailed","passwordJustResetted","usernameToReset","computed","_objectSpread","$gettext","result","errormessage","alert","mapState","methods","_this","$store","dispatch","then","$router","push","localStorage","getItem","removeItem","catch","error","response","_error$response","status","displayError","title","message","_this2","HTTP","post","_error$response2","component","module","exports"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,4CAA4C,CAACF,EAAG,MAAM,CAACE,YAAY,OAAO,CAACF,EAAG,MAAM,CAACE,YAAY,+CAA+C,CAACJ,EAAIK,GAAG,GAAGH,EAAG,MAAM,CAACE,YAAY,SAAS,CAACF,EAAG,KAAK,CAACF,EAAIM,GAAGN,EAAIO,GAAGP,EAAIQ,iBAAiBN,EAAG,OAAO,CAACE,YAAY,oBAAoBK,GAAG,CAAC,OAAS,SAASC,GAAgC,OAAxBA,EAAOC,iBAAwBX,EAAIY,MAAMC,MAAM,KAAMC,cAAc,CAACZ,EAAG,MAAM,CAACa,MAAMf,EAAIgB,kBAAkBC,MAAOjB,EAAIkB,kBAAmBC,MAAM,CAAC,GAAK,QAAQ,KAAO,UAAU,CAACjB,EAAG,OAAO,CAACF,EAAIM,GAAGN,EAAIO,GAAGP,EAAIoB,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AAA,MAAAtC,OAAAa,EAAA4B,SAAA5B,GAEA0B,eAAA,CACAC,MAAAE,EAAAvB,SAAA,iBACAsB,eAGA,KAAAjC,sBACA,KAAAO,sBAAA,MCrP8U,I,wBCQ1U+B,EAAY,eACd,EACA3F,EACAuD,GACA,EACA,KACA,WACA,MAIa,aAAAoC,E,qDCnBfC,EAAOC,QAAU,IAA0B,yB,kCCA3C","file":"js/chunk-68ff5dee.cbf3aec4.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"d-flex flex-column login bg-white shadow\"},[_c('div',{staticClass:\"m-5\"},[_c('div',{staticClass:\"d-flex flex-row justify-content-center mb-3\"},[_vm._m(0),_c('div',{staticClass:\"title\"},[_c('h1',[_vm._v(_vm._s(_vm.appTitle))])])]),_c('form',{staticClass:\"loginform mx-auto\",on:{\"submit\":function($event){$event.preventDefault();return _vm.login.apply(null, arguments)}}},[_c('div',{class:_vm.errorMessageClass,style:(_vm.errorMessageStyle),attrs:{\"id\":\"alert\",\"role\":\"alert\"}},[_c('span',[_vm._v(_vm._s(_vm.errorMessage))])]),_c('div',{staticClass:\"input-group mb-3\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.user),expression:\"user\"}],staticClass:\"form-control shadow-sm\",attrs:{\"type\":\"text\",\"id\":\"inputUsername\",\"placeholder\":_vm.usernameLabel,\"required\":\"\",\"autofocus\":\"\"},domProps:{\"value\":(_vm.user)},on:{\"input\":function($event){if($event.target.composing)return;_vm.user=$event.target.value}}})]),_c('div',{staticClass:\"input-group mb-3\"},[((_vm.isPasswordVisible)==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-control shadow-sm\",attrs:{\"id\":\"inputPassword\",\"placeholder\":_vm.passwordLabel,\"required\":!_vm.showPasswordReset,\"disabled\":_vm.showPasswordReset,\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.password)?_vm._i(_vm.password,null)>-1:(_vm.password)},on:{\"change\":function($event){var $$a=_vm.password,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.password=$$a.concat([$$v]))}else{$$i>-1&&(_vm.password=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.password=$$c}}}}):((_vm.isPasswordVisible)==='radio')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-control shadow-sm\",attrs:{\"id\":\"inputPassword\",\"placeholder\":_vm.passwordLabel,\"required\":!_vm.showPasswordReset,\"disabled\":_vm.showPasswordReset,\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.password,null)},on:{\"change\":function($event){_vm.password=null}}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-control shadow-sm\",attrs:{\"id\":\"inputPassword\",\"placeholder\":_vm.passwordLabel,\"required\":!_vm.showPasswordReset,\"disabled\":_vm.showPasswordReset,\"type\":_vm.isPasswordVisible},domProps:{\"value\":(_vm.password)},on:{\"input\":function($event){if($event.target.composing)return;_vm.password=$event.target.value}}}),_c('div',{staticClass:\"input-group-append\"},[_c('span',{staticClass:\"input-group-text disabled\",attrs:{\"id\":\"basic-addon2\"},on:{\"click\":_vm.showPassword}},[(!_vm.readablePassword)?_c('font-awesome-icon',{attrs:{\"icon\":\"eye\"}}):_vm._e(),(_vm.readablePassword)?_c('font-awesome-icon',{attrs:{\"icon\":\"eye-slash\"}}):_vm._e()],1)])]),(_vm.showPasswordReset == false)?_c('button',{staticClass:\"btn btn-info btn-block shadow-sm\",attrs:{\"disabled\":_vm.submitted || _vm.showPasswordReset,\"type\":\"submit\"}},[_c('translate',[_vm._v(\"Login\")])],1):_vm._e(),(_vm.showPasswordReset)?_c('div',{staticClass:\"passwordreset\"},[_c('button',{staticClass:\"btn btn-block btn-info\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.resetPassword}},[_c('translate',[_vm._v(\"Request password reset!\")])],1),_c('div',{staticClass:\"pull-right\"},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.togglePasswordReset.apply(null, arguments)}}},[_c('translate',[_vm._v(\"back to login\")])],1)])]):_c('div',{staticClass:\"pull-right\"},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.togglePasswordReset.apply(null, arguments)}}},[_c('translate',[_vm._v(\"Forgot password\")])],1)])]),_c('div',{staticClass:\"mb-3 secondary-logo mx-auto mb-auto\"},[_c('img',{attrs:{\"src\":_vm.secondaryLogo}})])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"logo mr-3\"},[_c('img',{attrs:{\"src\":require(\"@/assets/logo.png\")}})])\n}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=6e838224&scoped=true\"\nimport script from \"./Login.vue?vue&type=script&lang=js\"\nexport * from \"./Login.vue?vue&type=script&lang=js\"\nimport style0 from \"./Login.vue?vue&type=style&index=0&id=6e838224&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6e838224\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/logo.b5155b51.png\";","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=style&index=0&id=6e838224&prod&scoped=true&lang=css\""],"sourceRoot":""}