Jump to:

3444 Posts in 1030 Topics by 871 members

Template Questions

SilverStripe Forums » Template Questions » Login via Flash

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

Page: 1
Go to End
Author Topic: 1097 Views
  • goodju
    Avatar
    Community Member
    8 Posts

    Login via Flash Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5502 Posts

    Re: Login via Flash Link to this post

    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

  • goodju
    Avatar
    Community Member
    8 Posts

    Re: Login via Flash Link to this post

    Thanks alot Willr!

    I'll give it a try asap! Had to pause the project for some days..

    greets.goodju

    1097 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.