PageSourceSearch

https://himberger.de/static/7099.888fa7550655a79eb649.js

js himberger.de collected 2026-09-27 06:02:15 UTC 2,149 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkmattermost_webapp=self.webpackChunkmattermost_webapp||[]).push([[7099],{47099(e,t,s){s.r(t),s.d(t,{default:()=>w});var a=s(37270),r=s(32446),o=s(17085),n=s(26614),l=(s(15724),s(5673),s(30164),s(21279),s(71633)),m=s.n(l),c=s(36418),u=s(14778),d=s(81911),i=s(81444);const p=e=>{let{location:t,siteName:s,actions:a}=e;const r=(0,u.useIntl)(),o=(0,d.useHistory)(),[n,l]=(0,c.useState)(null),p=(0,c.useRef)(null);(0,c.useEffect)((()=>{document.title=r.formatMessage({id:"password_form.pageTitle",defaultMessage:"Password Reset | {siteName}"},{siteName:s||"Mattermost"})}),[r,s]);const f=n?c.createElement("div",{className:"form-group has-error"},c.createElement("label",{className:"control-label"},n)):null;return c.createElement("div",{className:"col-sm-12"},c.createElement("div",{className:"signup-team__container"},c.createElement(u.FormattedMessage,{id:"password_form.title",tagName:"h1",defaultMessage:"Password Reset"}),c.createElement("form",{onSubmit:async e=>{e.preventDefault();const s=p.current.value,r=new URLSearchParams(t.search).get("token");if("string"!=typeof r)throw new Error("token must be a string");const{data:n,error:m}=await a.resetUserPassword(r,s);n?(o.push("/login?extra="+i.Ay.PASSWORD_CHANGE),l(null)):m&&l(m.message)}},c.createElement("p",null,c.createElement(u.FormattedMessage,{id:"password_form.enter",defaultMessage:"Enter a new password for your {siteName} account.",values:{siteName:s}})),c.createElement("div",{className:m()("form-group",{"has-error":n})},c.createElement("input",{id:"resetPasswordInput",type:"password",className:"form-control",name:"password",ref:p,placeholder:r.formatMessage({id:"password_form.pwd",defaultMessage:"Password"}),spellCheck:"false",autoFocus:!0})),f,c.createElement("button",{id:"resetPasswordButton",type:"submit",className:"btn btn-primary"},c.createElement(u.FormattedMessage,{id:"password_form.change",defaultMessage:"Change my password"})))))},f=(0,c.memo)(p),w=(0,a.connect)((function(e){return{siteName:(0,n.zj)(e).SiteName}}),(e=>({actions:(0,r.zH)({resetUserPassword:o.cw},e)})))(f)}}]);
2//# sourceMappingURL=7099.888fa7550655a79eb649.js.map

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.