This may sound a little odd so let me explain what's going on.
In my current setup I have allowed new users to sign up. I want these users to follow this flow:
- Fill up sign up form and submit
- Gets redirected to page that warns them of activation email
- User opens email, clicks on link and is forwarded to his/her profile page
So far I've been able to do this without any problems. However, I would like to be able to welcome the user when the account is activated without using a new template.
In this moment 'activateAccountSuccessPath'
is set to the profile page, let's call it 'members/profile'
I would like to pass a parameter so that I can detect if the account is being activated for the first time and therefore should display a message, e.g.: 'members/profile?activated=true'
. As of now, this isn't possible because it looks for the template with that name, not recognizing that it has parameters.
I would like to use this same feature for other variables such as 'setPasswordSuccessPath'
, which would take you back to the login page, but displaying a message.
If it's impossible to pass arguments this way, how would you recommend going about it?