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.
This is a 6.x version of a patch submitted against 5.x, please see description there: http://drupal.org/node/165604
Comment | File | Size | Author |
---|---|---|---|
user.module_redirect.diff | 638 bytes | mvc | |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedAgain we need the committers review.
Comment #2
Gábor HojtsyWell, who tested this?
Comment #3
drummI reviewed and committed the 5.x version. This is different enough that the review probably does not apply.
Comment #4
Freso CreditAttribution: Freso commentedAfter setting the
to , I went and used another browser to create a new user and after registering, I was redirected back to user/register. I then went to the command line and applied the patch (as can be seen above), and after applying the patch, I'm sent to the front page when making new accounts. I do not see anything suspect in the code, and since it has already gone in for D5, I'm fairly sure there aren't any hidden traps I am not aware of. Marking RTBC.Comment #5
Gábor HojtsyThanks for the tests, committed!
Comment #6
(not verified) CreditAttribution: commentedComment #7
kenorb CreditAttribution: kenorb commentedHow can I make custom redirect after account has been created?
I've tried redirect and destination keys, in form_alter, user hook during validate and submit and no results.
Any ideas?
Comment #8
kenorb CreditAttribution: kenorb commentedOk, I found it. I've to change in form_alter something like that:
Comment #9
pghimire CreditAttribution: pghimire commented