I want to redirect to user profile after login. I know how to redirect portal. But I don't know what will be the code for redirecting user profile.
I can use
But this will redirect the admin profile page for every user. I want to make it for all. How can I do that?
Here is my login code
I can use
- Code:
/login?redirect=u1
But this will redirect the admin profile page for every user. I want to make it for all. How can I do that?
Here is my login code
- Code:
<form action="/login" method="post"><table cellspacing="1" cellpadding="3" border="0"><tbody><tr><td width="45%" align="right"> Username:</td><td><input type="text" name="username" size="25" maxlength="40" /></td></tr><tr><td align="right">Password:</td><td><input type="password" name="password" size="25" maxlength="32" /></td></tr><tr align="center"><td colspan="2">Log me on automatically each visit: <input type="checkbox" name="autologin" checked="true" /></td></tr><tr align="center"><td colspan="2"><input type="submit" class="mainoption" name="login" value="Log in" /></td></tr></tbody></table></form>