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
- 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&display

- Files
- 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+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7038
- Created
- Friday 01 March, 2019 12:33:57 UTC
by luci - LastModif
- Friday 19 December, 2025 14:24:12 UTC