Diff -- /var/www/vhosts/3dshawn.com/repricer.3dshawn.com/TEMPLATES/repricer_password_change.html

O Operator
Diff

/var/www/vhosts/3dshawn.com/repricer.3dshawn.com/TEMPLATES/repricer_password_change.html

added on local at 2026-07-01 21:47:25

Added
+58
lines
Removed
-0
lines
Context
0
unchanged
Blobs
from
to e2315582141b
Restore this content →
Unified diff
Naive LCS-based line diff. Additions in emerald, deletions in rose. Both sides decompressed live from BLOB_STORE.
1<!-- Change-password form. POSTs back to /password_change.cgi which
2 verifies the current password, rotates the hash via
3 MODS::Login::update_password, and re-issues a session cookie so
4 the seller stays logged in. -->
5
6<div class="page-shell" style="max-width:560px;margin:0 auto">
7
8 <div class="mb-3">
9 <a href="/profile.cgi" class="text-secondary text-xs" style="text-decoration:none">&larr; Back to Settings</a>
10 </div>
11
12 <div class="module">
13 <div class="module-head">
14 <div class="left">
15 <div class="module-icon"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/></svg></div>
16 <div>
17 <div class="module-title">Change password</div>
18 <div class="module-sub">Signed in as $email &middot; every other session will be signed out</div>
19 </div>
20 </div>
21 </div>
22 <div class="module-body">
23
24 [if:$has_err]
25 <div class="banner danger mb-3">
26 <svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="12" cy="12" r="10"/><line x1="12" y1="8" x2="12" y2="12"/><line x1="12" y1="16" x2="12.01" y2="16"/></svg>
27 <div class="text-sm fw-600">$err</div>
28 </div>
29 [/if]
30
31 <form method="POST" action="/password_change.cgi" autocomplete="off">
32 <div class="form-group">
33 <label class="form-label">Current password</label>
34 <input class="input" type="password" name="current_password" autocomplete="current-password" required>
35 </div>
36 <div class="form-group">
37 <label class="form-label">New password</label>
38 <input class="input" type="password" name="new_password" autocomplete="new-password" minlength="8" required>
39 <div class="form-help">Minimum 8 characters. Use a passphrase you have not used elsewhere.</div>
40 </div>
41 <div class="form-group">
42 <label class="form-label">Confirm new password</label>
43 <input class="input" type="password" name="new_password_again" autocomplete="new-password" minlength="8" required>
44 </div>
45
46 <div style="display:flex;gap:10px;margin-top:18px">
47 <button type="submit" class="btn btn-primary">Change password</button>
48 <a href="/profile.cgi" class="btn btn-secondary">Cancel</a>
49 </div>
50 </form>
51
52 <div class="text-xs text-dim mt-3" style="margin-top:18px;line-height:1.6">
53 <strong style="color:var(--col-text)">Security note:</strong> changing your password revokes every other active session immediately. You will stay signed in on this browser; everywhere else needs a fresh sign-in.
54 </div>
55 </div>
56 </div>
57
58</div>