password reset
This commit is contained in:
+81
@@ -131,6 +131,87 @@
|
||||
/>
|
||||
</div>
|
||||
<div id="signin-error" class="auth-error"></div>
|
||||
|
||||
<!-- Password reset — shown only after a failed sign-in -->
|
||||
<div
|
||||
id="reset-pw-wrap"
|
||||
class="reset-pw-wrap"
|
||||
style="display: none"
|
||||
>
|
||||
<div id="reset-pw-idle" class="reset-pw-idle">
|
||||
<span class="reset-pw-hint"
|
||||
>Forgot your password?</span
|
||||
>
|
||||
<button
|
||||
id="reset-pw-btn"
|
||||
class="reset-pw-btn"
|
||||
onclick="sendPasswordReset()"
|
||||
>
|
||||
<svg
|
||||
width="13"
|
||||
height="13"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<rect
|
||||
x="2"
|
||||
y="4"
|
||||
width="20"
|
||||
height="16"
|
||||
rx="2"
|
||||
/>
|
||||
<polyline points="22,4 12,13 2,4" />
|
||||
</svg>
|
||||
Send reset email
|
||||
</button>
|
||||
</div>
|
||||
<div
|
||||
id="reset-pw-sent"
|
||||
class="reset-pw-sent"
|
||||
style="display: none"
|
||||
>
|
||||
<svg
|
||||
width="18"
|
||||
height="18"
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
stroke-width="2"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
>
|
||||
<rect
|
||||
x="2"
|
||||
y="4"
|
||||
width="20"
|
||||
height="16"
|
||||
rx="2"
|
||||
/>
|
||||
<polyline points="22,4 12,13 2,4" />
|
||||
<polyline
|
||||
points="2,20 9,13"
|
||||
style="opacity: 0.5"
|
||||
/>
|
||||
<polyline
|
||||
points="22,20 15,13"
|
||||
style="opacity: 0.5"
|
||||
/>
|
||||
</svg>
|
||||
<div class="reset-pw-sent-text">
|
||||
<span class="reset-pw-sent-title"
|
||||
>Reset link sent</span
|
||||
>
|
||||
<span class="reset-pw-sent-sub"
|
||||
>Check your inbox — link expires
|
||||
in 15 minutes.</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
type="submit"
|
||||
id="signin-btn"
|
||||
|
||||
Reference in New Issue
Block a user