I am trying to create a rule that redirects a registered user on log in to /user. I am also using Logintoboggan to redirect users to update their password on account validation at /user/%uid/edit.

Currently, my rule reacts on user log in, so it overrides Logintoboggan redirects (users aren't taken to set passwords -- which I want).

How can I configure my rule to react on a 'normal' login (i.e. not when passwords are being reset or accounts created)? I realise I need some conditions in there, but I can't figure it out.

Thanks for your help.

Comments

nilaquinn’s picture

Hello, I am having the same problem.

-I want to direct users upon normal login to their account.
-However, users who have validated their account to the "sign up" page.

I created two rules:
1. for when users validate their account - redirect to sign up page
2. When users login, redirect to their account page.

However, at the moment, all users get directed to their account (rule 2). The direction to sign up page upon validation (rule 1) only works if I disable rule 2.

I have tried setting the weight of rule 1 to -10, and rule 2 to 0 but it has had no effect.

TR’s picture

Status: Active » Fixed

This issue has come up many times in this issue queue - a search of all issues (including closed ones) should reveal ways to deal with this. Here's a recent issue that I answered which is very similar so the answer should work for you too: #2224685: Login redirect affects one-time login

Status: Fixed » Closed (fixed)

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