feat: enforce SMTP configuration validation and show warning notices before enabling Email 2FA

This commit is contained in:
2026-05-21 21:55:00 +07:00
parent 4741a2dff2
commit 41bef637c9
38 changed files with 168 additions and 136 deletions
+1
View File
@@ -0,0 +1 @@
import{c as e,o as t,t as n}from"./app-DqWc0bf2.js";e();var r=n();function i({ability:e,children:n,fallback:i=null}){let{permissions:a}=t().props.auth;return(Array.isArray(e)?e:[e]).some(e=>a.includes(e))?(0,r.jsx)(r.Fragment,{children:n}):(0,r.jsx)(r.Fragment,{children:i})}export{i as t};