Skip to content

fix: change auth:login to fall back to cookie auth#115

Open
wolfgangmm wants to merge 1 commit into
mainfrom
compatibility-fallback
Open

fix: change auth:login to fall back to cookie auth#115
wolfgangmm wants to merge 1 commit into
mainfrom
compatibility-fallback

Conversation

@wolfgangmm
Copy link
Copy Markdown
Member

Restore the old behaviour of auth:login for backwards compatibility with TP 10 and earlier:

  • fall back to cookie auth if no user given
  • support use of parameter logout to log out

@wolfgangmm wolfgangmm requested a review from line-o April 27, 2026 14:19
@DrRataplan
Copy link
Copy Markdown
Contributor

this adds code that will be hopefully soon be dead code: when pb-login does the auth check in a different way.

A unit test would be nice here.

@line-o
Copy link
Copy Markdown
Member

line-o commented Apr 28, 2026

@DrRataplan Yes, I also think we need to ensure the functionality for the next releases we need to keep this in.

I can offer to create the test if @wolfgangmm does not have the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants