[FLOW3-general] password recheck

Thomas Plessis t.plessis at totemnumerique.com
Tue Nov 22 12:26:17 CET 2011


It seems like this line does not work in FLOW3 1.0?
* @validate $password \Layh\Events\Validation\Validator\PasswordValidator(minimumLength = 3)

Thomas Plessis
Développeur multimédia
--
TOTEMnumerique
9, Place St Étienne
31000 Toulouse
T. 05 61 14 64 54
F. 05 61 14 64 55

Le 21 nov. 2011 à 14:23, Thomas Layh a écrit :

> Hi together,
> 
> I had the same problem some time ago and I started with writing a password
> validator.  I wrote a tutorial about that on my homepage:
> http://www.layh.com/work/flow3-fluid/tutorials/flow3-password-validator.html
> 
> I am not sure if this is a good solution but it worked for me. But this way
> you can not set the password directly.
> 
> Feedback about this solution is welcome.
> 
> Greetings,
> Thomas
> 
> 
> On Mon, Nov 21, 2011 at 14:11, Thomas Plessis
> <t.plessis at totemnumerique.com>wrote:
> 
>> Hi guys,
>> 
>> I've the same question like Dawid. Does someone have a solution without
>> creating two fields?
>> 
>> regards,
>> 
>> Thomas Plessis
>> Développeur multimédia
>> --
>> TOTEMnumerique
>> 9, Place St Étienne
>> 31000 Toulouse
>> T. 05 61 14 64 54
>> F. 05 61 14 64 55
>> 
>> Can you say something more about @transient ?
>> 
>> But manual check is good for me. Can you paste an example ?
>> 
>> Best regards,
>> Dawid Pacholczyk
>> 
>> W dniu 2011-09-19 15:17, Peter Niederlag pisze:
>>> Hello,
>>> 
>>> Am 16.09.2011 21:41, schrieb Dawid Pacholczyk:
>>>> Hello List,
>>>>  How can I create 2 passwords field to check if the user wrote the same
>>>> password in both with out creating 2 fields in db ? Cause - if I`m not
>>>> wrong - when I create 2 fields in form I`ll get exception that the field
>>>> is not in model
>>> 
>>> IMO you can flag it as '@transient' or use a second simple string
>>> argument and perform a manual check in the initFooAction().
>>> 
>>> That's at least how I am doing it in "extbase". ;)
>>> 
>>> Greets and hth,
>>> Peter
>> 
>> _______________________________________________
>> FLOW3-general mailing list
>> FLOW3-general at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>> 
> _______________________________________________
> 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