I have created rule with event "User account has been created" and added rule Page redirect where I put url "user/login" to redirect users directly to login page (mainly because I have modified front page though page-front.tpl.php and also I'm not displaying normal login block). Now when I create new account it wont redirect me. I tried both "Force redirecting to the given path, even if a destination parameter is given" checked or not.
I also tried checking the "Immediately issue the page redirect" field, when I do that the redirection actually work, BUT registration email is not send, so user is redirected to login page, but dont have password for his account.
Any ideas?

CommentFileSizeAuthor
#4 registration_redirect.txt1.01 KBklausi

Comments

svihel’s picture

Component: Rules Core » Rules Engine

Bump... Any clue?

svihel’s picture

Bump again.. should I change this to bug report since nobody seems to know the solution?

svihel’s picture

Category: support » bug

Changing to bug report. If anybody knows some solution for this please let me know.

klausi’s picture

StatusFileSize
new1.01 KB

Works for me as it should (using Rules 1.x-dev).

I have attached the rule I used to test this.

svihel’s picture

Title: Redirect after user registration » Redirect after user registration (not working with module Login destination)
Category: bug » support
Status: Active » Closed (fixed)

Hello Klausi, thanks for reply! With this knowledge I gained some confidence continued with testing with clear instalation and it seems that there is incompatibility with module Login Destination. It might have seemed obvious, that this would happen, but login destination module should affect only login event, not registration event. Unfortunately it does it anyway. Luckily there is no need for Login destination module once you start using Rules.

So I'm closing this issue - Don't use Login Destination with Rules