Skip to content

Add a button that opens a one-time login link#212

Merged
phenaproxima merged 2 commits into
mainfrom
login-link
Feb 24, 2026
Merged

Add a button that opens a one-time login link#212
phenaproxima merged 2 commits into
mainfrom
login-link

Conversation

@phenaproxima

@phenaproxima phenaproxima commented Feb 23, 2026

Copy link
Copy Markdown
Collaborator

Description

Fixes #211.

But I have bad news -- this runs into the infuriating core bug where, if you're already logged in and you use this button, you get shot over to an "access denied" page. Because you're logged in, get it?

Drupal can be so goddamned infuriating sometimes. This is something we could shim around in Drupal CMS Helper, assuming there exists a core issue to correct this annoyance.

Also kind of annoying is that, if you're not logged in, this redirects you to the user edit form, so you can change your password. We could alter that redirect if we were so inclined (for this specific button only), but where should it redirect to?

AI Disclosure

Nope, wrote this with my human brain.

@pameeela

Copy link
Copy Markdown
Collaborator

Maybe we should just change it to 'Log in' that way it's less confusing that it's just logging you in!

@phenaproxima

Copy link
Copy Markdown
Collaborator Author

Sure, we can do that. The "access denied" thing is super effing annoying, even then, but not something we can fix from here.

Presumably, a login button should have a different icon than the pencil?

@pameeela

pameeela commented Feb 23, 2026

Copy link
Copy Markdown
Collaborator

True, let's use sign-in instead

@phenaproxima phenaproxima merged commit 3814871 into main Feb 24, 2026
2 checks passed
@phenaproxima phenaproxima deleted the login-link branch February 24, 2026 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Add an action to generate a login link

2 participants