PageSourceSearch

https://amarsheba.com.bd/build/assets/EmailOtpAuthForm-ux62x8Bl.js

js amarsheba.com.bd collected 2026-10-02 00:45:52 UTC 2,131 bytes, 1 lines download raw bytes

1import{u as p,a as u,j as e}from"./app-G4JWYCpb.js";import{C as h}from"./Checkbox-DsaYKJfT.js";import{I as b}from"./InputError-7sZRObmY.js";import{P as x}from"./PrimaryButton-l-_heSbQ.js";function g({className:l=""}){const{auth:r}=p().props,a=r.user,{data:t,setData:o,post:c,errors:i,processing:m,recentlySuccessful:n}=u({email_otp_enabled:!!a.email_otp_enabled}),d=s=>{s.preventDefault(),c(route("profile.email-otp.update"),{preserveScroll:!0})};return e.jsxs("section",{className:l,children:[e.jsxs("header",{children:[e.jsx("h2",{className:"card-title",children:"ইমেইল ওটিপি যাচাইকরণ"}),e.jsxs("p",{className:"card-description",children:["চালু থাকলে, লগইন করার সময় ইমেইল ও পাসওয়ার্ড দেওয়ার পর আপনার ইমেইলে (",a.email||"ইমেইল যুক্ত করা হয়নি",") একটি ওটিপি পাঠানো হবে, যাচাই করার পর লগইন সম্পন্ন হবে।"]})]}),n&&e.jsxs("div",{className:"alert alert-success alert-dismissible fade show",role:"alert",children:[e.jsx("strong",{children:"সফল!"})," সেটিংস আপডেট করা হয়েছে।",e.jsx("button",{type:"button",className:"btn-close","data-bs-dismiss":"alert","aria-label":"Close"})]}),e.jsxs("form",{onSubmit:d,className:"forms-sample",children:[e.jsxs("div",{className:"form-group mb-3",children:[e.jsxs("div",{className:"form-check",children:[e.jsx(h,{name:"email_otp_enabled",checked:t.email_otp_enabled,onChange:s=>o("email_otp_enabled",s.target.checked),className:"form-check-input",id:"email_otp_enabled"}),e.jsx("label",{className:"form-check-label",htmlFor:"email_otp_enabled",children:"লগইনে ইমেইল ওটিপি যাচাইকরণ চালু করুন"})]}),e.jsx(b,{message:i.email_otp_enabled,className:"mt-2"})]}),e.jsx("div",{className:"flex items-center gap-4",children:e.jsx(x,{disabled:m,children:"সংরক্ষণ করুন"})})]})]})}export{g 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.