PageSourceSearch

https://digitools4teachers.com/_nuxt/mC4t_ZNh.js

js digitools4teachers.com collected 2026-10-05 20:49:25 UTC 3,304 bytes, 1 lines download raw bytes

1import{F as C,a as B}from"./DQViZxD2.js";import q from"./B3PqMMaN.js";import{z,d as N,S as V,b as R,R as A,y as F,n as w,e as r,f as a,l as n,m as t,j as o,k as i,q as p,r as f,t as y,C as h,B as E}from"./C8tyWLtX.js";import"./DvyxkfdU.js";import"./Cjqm15oU.js";import"./Du9ztgDp.js";import"./DcQJC-qi.js";import"./CQIv4zlC.js";import"./ZhWAdK_X.js";import"./Dao-PfYH.js";import"./DoXCBAIi.js";import"./jc0MLXVe.js";const K={class:""},M={class:"flex flex-col items-center justify-center px-6 py-1 mx-auto md:h-[calc(100vh-200px)] lg:py-0"},T={class:"w-full bg-white rounded-lg shadow dark:border md:mt-0 sm:max-w-md xl:p-0 dark:bg-gray-800 dark:border-gray-700"},j={class:"p-6 space-y-4 md:space-y-6 sm:p-8"},D={key:0,class:"space-y-4 md:space-y-6"},L={key:0,class:"text-red-900 bg-red-100 text-sm p-4 mb-5 rounded"},W={key:1,class:"space-y-4 md:space-y-6"},Z={class:"text-sm text-slate-800"},$={key:2,class:"space-y-4 md:space-y-6"},G={key:0,class:"text-red-900 bg-red-100 text-sm p-4 mb-5 rounded"},ie={__name:"password-reset",setup(H){const m=z();N(),V();const x=R(),v=A(),b=F(),l=f(null),c=f(!1),u=f(!1);m.loggedIn&&w("/");const _=(e,s)=>{e.props.suffixIcon=e.props.suffixIcon==="eye"?"eyeClosed":"eye",e.props.type=e.props.type==="password"?"text":"password"};async function k(e){c.value=!0,await m.requestPasswordReset(e.email),u.value=!0,c.value=!1}async function I(e){c.value=!0,await m.resetPassword(x.query.code,e.password),b.add({severity:"success",summary:v.t("auth.password_changed"),life:3e3}),c.value=!1,w("/")}return(e,s)=>{const d=B,g=q;return o(),r("section",K,[a(t(C),{"config-file":"true"},{default:n(()=>[i("div",M,[i("div",T,[i("div",j,[s[3]||(s[3]=i("h1",{class:"text-xl font-bold leading-tight tracking-tight text-gray-900 md:text-2xl dark:text-white"}," Passwort zurücksetzen ",-1)),t(x).query.code?(o(),r("div",D,[a(d,{type:"form",id:"pwform","incomplete-message":!1,actions:!1,onSubmit:I},{default:n(({state:{valid:P,validationVisible:S}})=>[t(l)?(o(),r("div",L,y(t(l)),1)):p("",!0),a(d,{type:"password",name:"password",label:"Password",validation:"required|?length:10","validation-messages":{length:"Bitte geben Sie mindestens 10 Zeichen ein"},"suffix-icon":"eyeClosed",onSuffixIconClick:_,"suffix-icon-class":"hover:text-blue-500","outer-class":{"max-w-[20em]":!1}}),a(d,{type:"password",name:"password_confirm",label:"Password-Wiederholung",validation:"required|confirm","suffix-icon":"eyeClosed",onSuffixIconClick:_,"suffix-icon-class":"hover:text-blue-500","outer-class":{"max-w-[20em]":!1}}),a(g,{type:"submit"},{default:n(()=>[...s[0]||(s[0]=[h(" Neues Passwort speichern ",-1)])]),_:1})]),_:1})])):t(u)?(o(),r("div",W,[i("div",Z,y(e.$t("auth.password_reset.code_sent_message")),1)])):(o(),r("div",$,[s[2]||(s[2]=i("div",{class:"text-gray-500 text-sm mb-3"}," Bitte geben Sie Ihre E-Mail-Adresse ein, um Ihr Passwort zurückzusetzen. ",-1)),t(u)?p("",!0):(o(),E(d,{key:0,type:"form",id:"resetform","incomplete-message":!1,actions:!1,onSubmit:k},{default:n(({state:{valid:P,validationVisible:S}})=>[t(l)?(o(),r("div",G,y(t(l)),1)):p("",!0),a(d,{type:"email",name:"email",label:"Ihre E-Mail-Adresse","outer-class":{"max-w-[20em]":!1}}),a(g,{type:"submit"},{default:n(()=>[...s[1]||(s[1]=[h(" Absenden ",-1)])]),_:1})]),_:1}))]))])])])]),_:1})])}}};export{ie as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.