#20: fix non-ASCII lint violations in webmail and router source files
This commit is contained in:
1 parent
7e638ddc5b
commit
23da5f43e4
5 files changed
+7
-7
No files matched your search
@@ -36,7 +36,7 @@ export function handleApiRequest(req: IncomingMessage, res: ServerResponse): boo
|
||||
|
||||
const sessionPayload = token ? verifyJwt(token) : null;
|
||||
|
||||
// STRICT SURFACE ISOLATION (PLAN.md ADR-008 & §14.1)
|
||||
// STRICT SURFACE ISOLATION (PLAN.md ADR-008 & Section 14.1)
|
||||
// Token presented to /api/v1/admin/* MUST have aud: "lambdamail:admin"
|
||||
if (url.startsWith("/api/v1/admin/")) {
|
||||
if (!isSurfaceAuthorized(sessionPayload, "admin")) {
|
||||
|
||||
@@ -44,7 +44,7 @@ export default function AdminDomainsPage() {
|
||||
<div className="flex items-center justify-between">
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold text-white mb-1">Domain & 13-DNS Records Automation</h1>
|
||||
<p className="text-xs text-slate-400">Live DNS diff reconciliation against Cloudflare API (PLAN.md §16 F3/F4 requirement).</p>
|
||||
<p className="text-xs text-slate-400">Live DNS diff reconciliation against Cloudflare API (PLAN.md Section 16 F3/F4 requirement).</p>
|
||||
</div>
|
||||
|
||||
<button
|
||||
|
||||
@@ -91,7 +91,7 @@ export default function AdminLoginPage() {
|
||||
type="password"
|
||||
value={password}
|
||||
onChange={(e) => setPassword(e.target.value)}
|
||||
placeholder="••••••••••••"
|
||||
placeholder="************"
|
||||
required
|
||||
className="w-full px-4 py-2.5 rounded-lg bg-slate-900 border border-slate-800 text-white placeholder-slate-500 focus:outline-none focus:border-emerald-500 transition-colors"
|
||||
/>
|
||||
@@ -126,7 +126,7 @@ export default function AdminLoginPage() {
|
||||
|
||||
<div className="mt-6 pt-4 border-t border-slate-800 text-center">
|
||||
<Link href="/" className="text-xs text-slate-400 hover:text-slate-200 transition-colors">
|
||||
← Back to Surface Selector
|
||||
Back to Surface Selector
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -91,7 +91,7 @@ export default function UserLoginPage() {
|
||||
type="password"
|
||||
value={password}
|
||||
onChange={(e) => setPassword(e.target.value)}
|
||||
placeholder="••••••••••••"
|
||||
placeholder="************"
|
||||
required
|
||||
className="w-full px-4 py-2.5 rounded-lg bg-slate-900 border border-slate-800 text-white placeholder-slate-500 focus:outline-none focus:border-indigo-500 transition-colors"
|
||||
/>
|
||||
@@ -126,7 +126,7 @@ export default function UserLoginPage() {
|
||||
|
||||
<div className="mt-6 pt-4 border-t border-slate-800 text-center">
|
||||
<Link href="/" className="text-xs text-slate-400 hover:text-slate-200 transition-colors">
|
||||
← Back to Surface Selector
|
||||
Back to Surface Selector
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -22,7 +22,7 @@ const MOCK_MESSAGES: SampleMessage[] = [
|
||||
id: "msg-1",
|
||||
sender: "Security Operations",
|
||||
senderEmail: "security@lambdamail.org",
|
||||
subject: "Welcome to LambdaMail v2.0 — Account Provisioned",
|
||||
subject: "Welcome to LambdaMail v2.0 - Account Provisioned",
|
||||
snippet: "Your LambdaMail account is active with strict SPF, DKIM, and DMARC verification.",
|
||||
date: "10:42 AM",
|
||||
unread: true,
|
||||
|
||||
Reference in new issue
Block a user