I’m trying to login through http://mysite.com/users/admin-login.
so my discourse app sends me an email including a login link, so I click the link and am redirected to the page that has a “finish login” button. I click the button, and it says
email login link is too old
what’s wrong with it? I’m positive that the link is not old at all.
FYI, “SiteSettings.force_https = false” has been set.
Thanks in advance.
That’s likely a mistake, as there are few reasons to do this, but it’s unrelated to this issue.
The only time that I have seen this error is when the system clock on the server is off by even a few minutes. I recommend that you again check the time and date very carefully.
Quería añadir una posible solución a esto, para cualquiera que busque en el futuro. Un par de mis usuarios tenían el problema del ‘enlace de inicio de sesión demasiado antiguo’ después de una migración reciente de un software de foro diferente a Discourse.
El problema eran las letras mayúsculas en sus direcciones de correo electrónico. A Discourse no le gustan nada. Una consulta rápida SET email = LOWER(email) resolvió el problema al instante.