Can I create a function that forces a login and redirects to a specific location/page?
Here's the login call via a URL:
(site)/Security/LoginForm&action_dologin=1&Email=(email)&Password=(password)
Can I just call dologin and pass the email & password then do a redirect?
I'm not sure how to do this?
Do I create a class first:
class userautologin {}
function autologin {
dologin('email','password');
redirect;
}
Thoughts
Terry