ISE when visiting the site after rename with expired session

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 2025-08-11
    • Affects Version/s: None
    • Component/s: Accounts
    • None

      Found in Sentry:

      Can't call method "auth_realm" on an undefined value at /home/musicbrainz/carton-local/lib/perl5/Catalyst/Plugin/Authentication.pm line 31.

      When a user is renamed, the remember_login cookie still points to their old username until they log out and in again. As such, if their session has expired and we try to log them in with the remember_login cookie, we pass an undefined user to Catalyst and the log in attempt fails with the ISE above.

            Assignee:
            Nicolás Tamargo
            Reporter:
            Nicolás Tamargo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Version Package
                2025-08-11