3212 Posts in 847 Topics by 809 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 918 Views |
-
Login via Flash

28 July 2010 at 12:11am
hello everyone,
I've got a PageTemplate that includes a big Flash application. For usability i need to offer a login INSIDE this application which means, I need to send the user input via HTTP_RAW_POST_DATA (or whatever else) to php.
And then? I found some "Customized LoginForms",but I don't need a form, but a function. Anyone a simple solution? (it doesnt have to be super-secure)
greetings. goodju
-
Re: Login via Flash

28 July 2010 at 9:09pm
Have a look at Security::authenticate($email, $password) I'm pretty sure if you can query that function you can bypass the default authenticator classes etc
http://api.silverstripe.org/2.4/sapphire/security/Security.html#methodauthenticate
-
Re: Login via Flash

2 August 2010 at 10:25pm
Thanks alot Willr!
I'll give it a try asap! Had to pause the project for some days..
greets.goodju
| 918 Views | ||
|
Page:
1
|
Go to Top |


