After upgrading to 2.45.0, unable to log in to Portailer.
Before you start please confirm the following.
- Yes, I've searched similar issues on GitHub.
- Yes, I've checked whether this issue is covered in the Portainer documentation.
Problem Description
I changed my password to a simple 7-digit number. Before the upgrade, I could log in normally, but after the upgrade, I was immediately logged out and a message appeared. “Failure Unable to login”,I can no longer use Portailer.
Expected Behavior
。。。
Actual Behavior
。。。
Steps to Reproduce
Log in
Portainer logs or screenshots
2026/09/12 06:40PM ERR github.com/portainer/portainer/api/http/csrf/csrf.go:58 > CSRF check failed: unsafe cookie-authenticated request without Origin or Sec-Fetch-Site headers, set CSRF_ALLOW_NO_ORIGIN=1 to allow such requests | host=xxxxxxxxx.com:8123 method=POST request_url=/api/auth [12/Sep/2026:18:40:23 +0800] 403 36.148.157.48, 172.30.32.1(172.30.32.2) POST /api/auth HTTP/1.1 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.0.0 Safari/537.36)
Portainer version
2.45.0
Portainer Edition
Business Edition (BE/EE) with 5NF / 3NF license
Platform and Version
Core 2026.7.4
OS and Architecture
Home Assistant
Browser
No response
What command did you use to deploy Portainer?
Additional Information
No response
Source: portainer/portainer