Hi,
Using Kirby 2.4.1, my users are log out from the panel in various random circumstances. It could happen when saving a page or when going back to the dashboard, sometimes even at login.
When that happened, the dev console briefly show a: SyntaxError: Unexpected token <
Iāve seem a topic about it, but I did not get what the solution was, except editing some files in the Kirby core, which is clearly not a solution.
Just to say that I have similar issues on my local dev install.
Linux Ubuntu
Caddy Server + php7
Iām going to test on VPS with some different web server environments (Apache + nginx reverse proxy and nginx allone) and will tell you if random logout append.
Same here. I can login but after I click on any link, it logs me out back to the panel login page. I have made no changes to any files. I have even re-uploaded the PANEL and KIRBY folders with no success.
I have removed all plugins to see if there were any issues here but nothing.
I have even checked all with htaaccess to see if any issues there but canāt find any.
Iāve done a quick test and it seem this function solve the panel logout.
Can you elaborate about what this function is about and when to use it or not?
Iām not familiar with āfingerprintā session.
I think the purpose of the session fingerprint is to identify the session and is thus a security feature. But it seems that the Kirby fingerprint, which is IP or user agent based, can cause issues in some environments, where those parameters might change.
Gilles,
Personally, Iāve just pasted this function āas inā in the config file.
I guess the 'some fingerprint" value in return is just a dummy one to return something, instead of a null value that caused the logout weāve experienced.
But Iām no expert there.