Jump to content
thirty bees forum
  • 0

First login fails - Backoffice wrong redirect?


unbranched

Question

Hi, I successfully upgraded from TB 1.2.0 to TB 1.4.0 but now I encounter this problem: in the backoffice login page if i put my correct credentials and press Enter, the page refreshes to the same login page. If then I just revisit the backoffice page typing it in the browser URL bar, I can access the dashboard without login.

So I think there's a wrong redirect from the login page, or cookies are not seen at first, or the given tokens are wrong.

 

My server setup

Ubuntu 20.04

php 7.4

MariaDB 10.3

Thirtybees 1.4.0

Nginx configuration (I did it as much simple as possible for the tests):

server {
    listen 443 ssl;
    index index.php index.html;
    server_name mywebsite.com www.mywebsite.com;
    root /var/www/html/mywebsite;

    ssl_certificate /etc/letsencrypt/live/mywebsite.com/fullchain.pem;
    ssl_certificate_key /etc/letsencrypt/live/mywebsite.com/privkey.pem;

    # php rewriting
    location ~ \.php$ {

        fastcgi_pass unix:/run/php/php7.4-fpm.sock;

        fastcgi_param PATH_INFO $fastcgi_path_info;
        fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;

        include fastcgi_params;
    }
}

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...