Redirect after saving new password

Created on 24 January 2017, over 7 years ago
Updated 29 November 2023, 7 months ago

Usung 8.x-1.x-dev version.
I have done a redirection on login so the user go to front page for all cases but the One-time login link. In that case the user land on the /user/edit page.
The problem I want to solve is the following:
When a user that have landed on this page from the One-time login link and save the form, the user shall be redirected to the front page. Other events on save this page shall not be redirected.
Can this module solve this problem? If so, how do I make this happen?

πŸ’¬ Support request
Status

Closed: won't fix

Version

1.0

Component

Miscellaneous

Created by

πŸ‡ΈπŸ‡ͺSweden chrotto

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Hello,
    I like to ask two question:

    1. why "redirect after password reset" is not usual use case? As user ddrozdik said.
      Lot of people get very irritated, when after they did a password reset, the next page is their profile page with the "edit" tab. And the first what jumps in the eyes of the user, is a form asking after their "actual password".
    2. Why a redirect from one-time link like: "/user/reset/userID/kljsdkljf897987987987-RANDOM-NUMBER" is pretty edge case as NikLP said?"
    3. is there no solution like: /user/reset/userID/*
      or /user/reset/*

    I used:
    Redirect upon triggers: One-time login link
    Redirect from specific pages: Only the listed pages -Β» /user/reset/*
    Redirect users with roles: test-role

    But it seems not to working.
    Thank you.

    Drupal 9.5.11

Production build 0.69.0 2024