MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / showInboxCodeResult

Function showInboxCodeResult

static/js/accounts.js:2244–2258  ·  view source on GitHub ↗
(code, email)

Source from the content-addressed store, hash-verified

2242}
2243
2244function showInboxCodeResult(code, email) {
2245 elements.modalBody.innerHTML = `
2246 <div style="text-align:center; padding:24px 16px;">
2247 <div style="font-size:13px;color:var(--text-muted);margin-bottom:12px;">
2248 ${escapeHtml(email)} 最新验证码
2249 </div>
2250 <div style="font-size:36px;font-weight:700;letter-spacing:8px;
2251 color:var(--primary);font-family:monospace;margin-bottom:20px;">
2252 ${escapeHtml(code)}
2253 </div>
2254 <button class="btn btn-primary" onclick="copyToClipboard('${escapeHtml(code)}')">复制验证码</button>
2255 </div>
2256 `;
2257 elements.detailModal.classList.add('active');
2258}

Callers 1

checkInboxCodeFunction · 0.85

Calls 1

escapeHtmlFunction · 0.70

Tested by

no test coverage detected