Skip to content

Problem With Login on Latest 5.1 Branch #396

@ctassell

Description

@ctassell

Hello,

I just pulled the latest 5.1 docker image last night and it seems to have broken the login page. On line 39 of app/controllers/account_controller.rb there is a line "no_store" and removing that seems to fix it. The error I was getting was:

, [2025-10-01T16:48:14.138489 #1]  INFO -- : [11fd7c68-09d3-49d6-a413-613f9a24c195] Processing by AccountController#login as HTML
I, [2025-10-01T16:48:14.138546 #1]  INFO -- : [11fd7c68-09d3-49d6-a413-613f9a24c195]   Parameters: {"back_url"=>"http://blah/"}
I, [2025-10-01T16:48:14.141531 #1]  INFO -- : [11fd7c68-09d3-49d6-a413-613f9a24c195]   Current user: anonymous
I, [2025-10-01T16:48:14.142084 #1]  INFO -- : [11fd7c68-09d3-49d6-a413-613f9a24c195] Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.9ms | Allocations: 595)
F, [2025-10-01T16:48:14.142627 #1] FATAL -- : [11fd7c68-09d3-49d6-a413-613f9a24c195]   
[11fd7c68-09d3-49d6-a413-613f9a24c195] NameError (undefined local variable or method `no_store' for #<AccountController:0x000000003a6d80>):
[11fd7c68-09d3-49d6-a413-613f9a24c195]   
[11fd7c68-09d3-49d6-a413-613f9a24c195] app/controllers/account_controller.rb:39:in `login'
[11fd7c68-09d3-49d6-a413-613f9a24c195] lib/redmine/sudo_mode.rb:61:in `sudo_mode'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions