INGInious/INGInious

Link prefetching brings confusion into the account activation process

Offen

#355 geöffnet am 25.09.2018

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (147 Forks)auto 404
FrontendGood First Issue

Repository-Metriken

Stars
 (237 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

For now we store an activation hash which is removed from the User document in database once the account is activated. Therefore, the activation link is not valid anymore once the user is activated.

However some browsers in combination with online mail clients actually perform link prefetching. In some cases, a recently registered user faces an "Invalid token" message instead of "Your account is already/has been activated".

A possible solution is to keep the activation hash somewhere in DB to inform the user the account has already been activated.

Contributor Guide