Stop a harmless verification link reading as an error
The failure copy says the expired link costs the person nothing, and then rendered it in the error colour. Neutral text matches what the sentence says. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
parent
f72c9e7986
commit
9ee36181cb
1 changed files with 3 additions and 1 deletions
|
|
@ -1457,8 +1457,10 @@ async function showVerify(){
|
||||||
// Worth saying plainly that nothing is broken: verification gates nothing,
|
// Worth saying plainly that nothing is broken: verification gates nothing,
|
||||||
// so a burnt or expired link costs the person exactly nothing.
|
// so a burnt or expired link costs the person exactly nothing.
|
||||||
$("vSub").textContent="Odkaz nezabral.";
|
$("vSub").textContent="Odkaz nezabral.";
|
||||||
|
// Neutral, not red: the sentence says nothing is wrong, and a red one
|
||||||
|
// saying "never mind" reads to a parent as a problem they have to solve.
|
||||||
setMsg($("vMsg"),"Nejspíš už vypršel. Nevadí, k přihlášení ověření "+
|
setMsg($("vMsg"),"Nejspíš už vypršel. Nevadí, k přihlášení ověření "+
|
||||||
"potřeba není.","err");
|
"potřeba není.");
|
||||||
} else {
|
} else {
|
||||||
$("vSub").textContent="Hotovo, e-mail je ověřený.";
|
$("vSub").textContent="Hotovo, e-mail je ověřený.";
|
||||||
setMsg($("vMsg"),"Můžeš se přihlásit.","ok");
|
setMsg($("vMsg"),"Můžeš se přihlásit.","ok");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue