Skip to content

[Bug] Login with wrong user name: error message "The web server seems to be incorrectly configured for cookies required for PHP sessions!" #7061

@math-GH

Description

@math-GH

Describe the bug

(https://mastodon.social/@ts-new@hub.tschlotfeldt.de/113596516493945482 made me aware of this bug)

Login procedure: If the user name is NOT correct the error message is strange/wrong in that case.

(Not correct means also that the user name is case sensitiv!)

The error message: "The web server seems to be incorrectly configured for cookies required for PHP sessions!"

grafik
(screen shot from demo.freshrss.org - user name -> I tried demos instead of demo)

To Reproduce

  1. Go to login page
  2. try to login with a non existing user
  3. see the misleading error message

(reproduce-able on demo.freshrss.org too)

Expected behavior

I would expect a message like: "Wrong user name or password".
And I would not expect that there is an issue with the case sensitivity of the user name

FreshRSS version

1.25.0-dev

Environment information

  • Database version: SQLite MySQL
  • PHP version: PHP 8.1
  • Installation type: git
    -Web server type: Apache

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions