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.

CommentFileSizeAuthor
#1 login_speedup.patch3.05 KBergonlogic
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ergonlogic’s picture

Status: Active » Needs review
FileSize
3.05 KB

Patch 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.

ergonlogic’s picture

We can redirect away from /user/1/edit by appending '?destination=/'...

anarcat’s picture

I 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.

Steven Jones’s picture

Status: Needs review » Fixed

Yeah, 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!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit e8cbac0 on dev-drupal-8, 6.x-2.x, dev-ssl-ip-allocation-refactor, dev-1205458-move_sites_out_of_platforms, 7.x-3.x, dev-subdir-multiserver, 6.x-2.x-backports, dev-helmo-3.x authored by ergonlogic, committed by Steven Jones:
    Issue #1830994 by ergonlogic: Added Login directly via 'login' link.
    
  • Commit bc9d27a on 7.x-3.x, dev-helmo-3.x authored by omega8cc, committed by helmo:
    Issue #1830994 by ergonlogic: Added Login directly via 'login' link (D8)