Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
As per #1829596: ULI needs a turbo, we can login directly to a site by appending '/login' to the one-time login link. I believe this is a useful UX improvement, as the 'reset password' message ("Click on this button to login to the site and change your password") doesn't serve any useful purpose, requires a pointless click, and is a bit misleading (i.e., you don't actually have to change your password.)
Since we're not using the Drush command, though, we'll have to make a couple changes ourselves. Patch forthcoming.
Comment | File | Size | Author |
---|---|---|---|
#1 | login_speedup.patch | 3.05 KB | ergonlogic |
Comments
Comment #1
ergonlogicPatch attached for review.
Ideally, we'd be able to override this (somewhat misleading) message: "You have just used your one-time login link. It is no longer necessary to use this link to login. Please change your password" and maybe redirect to a page other than /user/1/edit.
Comment #2
ergonlogicWe can redirect away from /user/1/edit by appending '?destination=/'...
Comment #3
anarcat CreditAttribution: anarcat commentedI think it's alright to go to the edit page, as the button for the task in the frontend is "password reset"... Maybe the default login page should be a different url though.
Comment #4
Steven Jones CreditAttribution: Steven Jones commentedYeah, Drush made this change, and it's a nice improvement I reckon.
We shouldn't redirect people elsewhere, because sometimes you really do want to change the password of the root user!
Applied in 6.x-2.x. Thanks for the patch!