Problems, need help? Have a tip or advice? Post it here.
6 posts Page 1 of 1
After user clicks the activation link he needs to log in again.
I want that user becomes logged in when he clicks the activation link.
Is this possible?
Not possible, I am sorry.

Login will require presenting the password which is not known to Couch (it only stores a hash of it).
Ok.
In that case how can i change the page that is shown on clicking activation link and also i want to show the login form there itself.
I suppose you are using the 'register.php' sample template of 'members' addon as a guide.
If so, find the following code (that simply shows a link to login page) -
Code: Select all
Activation was successful! You can now log in!<br />
<a href="<cms:member_login_link />">Login</a>

and replace it with the following (that brings up the login page) -
Code: Select all
<cms:redirect "<cms:member_login_link />" />

Hope it helps.
ok.
thanks.
One more doubt : Can i have log in form at more than one place (different pages).
Can i have log in form at more than one place (different pages).
Sure. You'll find a discussion on how to do it here - viewtopic.php?p=16295#p16295

Hope it helps.
6 posts Page 1 of 1