[FLOW3-general] Log into system
Søren Malling
soren.malling at gmail.com
Mon Mar 28 12:46:48 CEST 2011
Hi Dawid,
I've created a login form with FLOW3 and you can find the controller here
https://github.com/sorenmalling/FLOW3-ArticleWorkflow/blob/master/Classes/Controller/LoginController.php
and the corresponding HTML form here
https://github.com/sorenmalling/FLOW3-ArticleWorkflow/blob/master/Resources/Private/Templates/Login/Form.html
Feel free to browse around, it's not made against the current master
(with doctrine and all that..) but the function and way to built the
login functionality, should be the same.
HTH.
Søren Malling
TYPO3 Brugergruppe Danmark: www.typo3danmark.dk
Twitter: twitter.com/sorenmalling
On Mon, Mar 28, 2011 at 11:49 AM, Michael Sauter <mail at michaelsauter.net> wrote:
> Hi Dawid,
>
> did you have a look at
> http://flow3.typo3.org/documentation/manuals/flow3/flow3.securityframework/
> already? Some things are a bit outdated, but generally that's how
> authentication works. I think somewhere on the list someone also asked about
> how to extend the user model used by default ... don't remember where
> exactly though.
>
> On 27.03.11 10:00, Dawid Pacholczyk wrote:
>>
>> Hi List,
>> I`m trying to understand one thing. How should I create login action for
>> my system ? If I have my own User model (where this model holds the
>> password) should I copy the code from Blog example ?
>>
>> I see there that LoginContoller injects AuthenticationInterface. But for
>> me interface should be implemented and the object should create methods
>> declared in the interface. Can I do that ? Or should I do it in other way
>> ?
>
> I'm not quite sure what you mean? Do you want to implement
> AuthenticationInterface yourself? Then you have to tell FLOW3 that you want
> to use your implementation for that interface ...
>
> ~mic
>
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>
More information about the FLOW3-general
mailing list