Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions /

Login via Flash


Reply


3 Posts   1126 Views

Avatar
goodju

Community Member, 8 Posts

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

Avatar
Willr

Forum Moderator, 5513 Posts

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

Avatar
goodju

Community Member, 8 Posts

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