Hi. I'm completely new to Umbraco and I'm having problems adding a log in to a template that has been given to me. The login is supposed to be in the homepage and some subpages are restricted and should redirect to homepage so users can log in and then redirected back to that page. I use this code to create the log in form
and then use "public access" on the subpages specifying the homepage as the log in page. This step of beeing presented with a log in page works but after a sucessful log in it doesn't redirect back. Thank you in advance.
Members Control Login help
Hi. I'm completely new to Umbraco and I'm having problems adding a log in to a template that has been given to me. The login is supposed to be in the homepage and some subpages are restricted and should redirect to homepage so users can log in and then redirected back to that page. I use this code to create the log in form
<form runat="server">
<umbraco:Macro UseCookiesForAuthentication="0" DaysUntilCookieExpires="" LogOutOnly="0" UserLoggedInText="" ButtonLoginText="Login" SignOutLinkText="Logout" UsernameCaption="Username" PasswordCaption="Password" RememberMeCaption="Remember me" LoginFailedText="" Alias="MemberLogin" runat="server"></umbraco:Macro>
</form>
and then use "public access" on the subpages specifying the homepage as the log in page. This step of beeing presented with a log in page works but after a sucessful log in it doesn't redirect back. Thank you in advance.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.