Jump to:

23373 Posts in 18175 Topics by 2865 members

General Questions

SilverStripe Forums » General Questions » willr - I need help - Forced Login (SOLVED)

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 872 Views
  • TerryMiddleton
    Avatar
    Community Member
    108 Posts

    willr - I need help - Forced Login (SOLVED) Link to this post

    *** I figured this out and it works ***

    Willr,

    I got the force login working however after the login it won't go to the page I need and start with.

    Normally, if I am at a specific page and login, SS takes me back to that page.

    How do you set the URL such that it will return to that or can you redirect after login?

    The forced login works perfectly. I just need it to go to a specific page afterwards.

    Thoughts?

    Terry

    I apologize for asking your directly but I can get this resolved. I"ve launched our site www.radimage.com and everything works perfectly.

    I have one issue: I need to create a link that will force a login for a specific user. I already created the user/member account and can login via the login form, but can't figure out how to do a forced login

    From the docs, I would call the LoginForm and pass it the email and password, but it doesn't work. I can't figure if it's because I've extended the MemberLoginForm with a CustomLoginForm.

    Can you help? Have you seen this work?

    Terry

    872 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.