Vés al contingut principal

Configuració de les galetes

Fem servir galetes per assegurar les funcionalitats bàsiques del lloc web i per a millorar la teva experiència en línia. Pots configurar i acceptar l'ús de galetes, i modificar les teves opcions de consentiment en qualsevol moment.

Essencials

Preferències

Analítiques i estadístiques

Màrqueting

This proposal has been implemented

This incidence has been solved. Closed via #5313

Thank you for contributing!

After the user accepts the TOS, they are redirected back to the TOS page

Avatar: AH AH Finished
If the user has not yet accepted the TOS, they are asked to accept it before they can access any page. After they accept it, they are redirected back to the TOS page. Usability wise this is not ideal. Better would be to redirect the user back to the stored path, i.e. the last page they tried to access before they were asked to log in. The reason for this is that the stored page is overridden on every request, even when the user requests the TOS page where they are redirected to (served through the pages controller). SOLUTION: Skip the `:store_current_location` before action for ALL controllers in case the user is: a) Logged in b) Has not yet accepted the TOS This way the actually desired page would automatically be remembered as the TOS acceptance controller already redirects there.
Comentari

Confirmar

Si us plau, inicia la sessió

La contrasenya és massa curta.

Compartir