Hello,
I tried to follow the instructions Members-Registration-And-Logins - Tutorials - Documentation - our.umbraco.com
to create a password protected login but no luck. Everything is appear on the frontend after adding it - I can type in username and password but after submitting it, I am again getting the login page.
I was trying to change the loginModel.RedirectUrl = null; to my page like
loginModel.RedirectUrl = “/page”;
but it is not redirecting after checking my username and password.
In console I don’t see any errors.
Can anybody help me with this please, since it is really important for me to have password protect pages on my website.
Thanks,
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/109729-login-macro-from-snippet-not-working