fix: emails used for recovery only, not notifications (notifications coming later)

This commit is contained in:
M1
2026-03-16 14:59:17 +04:00
parent 4e7fdfa07c
commit eb3ef7745f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -114,7 +114,7 @@
<h3>Register</h3>
<div class="endpoint"><span class="method post">POST</span><span class="path">/account/register</span></div>
<p class="endpoint-desc">Create a new account. Email is optional — used only for recovery and alerts.</p>
<p class="endpoint-desc">Create a new account. Email is optional — used only for account recovery.</p>
<div class="cb">
<div class="cb-header"><span class="cb-lang">json — request body</span></div>
<pre>{ <span class="k">"email"</span>: <span class="s">"you@example.com"</span> } <span class="c">// optional</span></pre>
+1 -1
View File
@@ -63,7 +63,7 @@
<!-- Optional email -->
<div class="mt-6 pt-5 border-t border-gray-800">
<label class="block text-xs text-gray-500 uppercase tracking-wider mb-1">Email <span class="text-gray-600 normal-case">(optional)</span></label>
<p class="text-xs text-gray-600 mb-3">Used for account recovery and uptime alerts. Never shared.</p>
<p class="text-xs text-gray-600 mb-3">Used for account recovery only. Never shared.</p>
<input id="email-input" type="email" placeholder="you@example.com"
class="w-full bg-gray-800 border border-gray-700 rounded-lg px-4 py-3 text-gray-100 placeholder-gray-600 focus:outline-none focus:border-blue-500 text-sm">
<div class="flex gap-2 mt-3">