Loading...
 
Skip to main content

CSRF Error when trying to log in from the top bar

Status
Closed
Subject
CSRF Error when trying to log in from the top bar
Version
19.x
20.x
Category
  • Regression
  • Dogfood on a *.tiki.org site
Feature
Modules
User Administration (Registration, Login & Banning)
Resolution status
Fixed or Solved
Submitted by
luci
Keep informed
lindon
Lastmod by
luci
Rating
(1)
Related-to
Description

When trying to log in using the top bar "Log in" module user gets CSRF error and is not logged in. Reproducible on tiki.org and dev.tiki.org. Not reproduced on doc.tiki.org. I feel it has something to do with the buggy cookie consent feature.

It does not happen when loggin in using the dev.tiki.org/login URL directly (instead of the top bar module).

You need to open new incognito window in Chrome/Firefox to "start fresh" and reproduce the issue.

Steps to reproduce in the attached screencast video.

https://dev.tiki.org/tiki-download_item_attachment.php?attId=514&displayQuestion

Files
  1. AwesomeScreenshot 2019 03 01T12 21 27 591Z
Solution
Workaround
Do not use the login module but a direct link to tiki-login.php
Importance
10 high
Easy to solve?
4
Priority
40
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
7038
Created
Friday 01 March, 2019 12:33:57 UTC
by luci
LastModif
Friday 19 December, 2025 14:24:12 UTC


Show PHP error messages