Re: [Catalyst] Reaction Authentication

2007-01-29 Thread Guillermo Roditi
Role's don't do augment. I'll look further into this though On 1/29/07, Jonas Alves [EMAIL PROTECTED] wrote: On 28/01/07, Guillermo Roditi [EMAIL PROTECTED] wrote: FIXED IT!!! take out the does '...' line and replace it with this: override parameter_hashref = sub{ my $self = shift;

Re: [Catalyst] Reaction Authentication

2007-01-29 Thread Matt S Trout
On 29 Jan 2007, at 13:12, Jonas Alves wrote: I have tried your aproach before. You can't delete the 'new_password' and 'confirm_new_password' or the confirm_password is not checked against 'new_password'. You have to live with the warnings in the error log. But it doesn't work for me

Re: [Catalyst] Reaction Authentication

2007-01-27 Thread Guillermo Roditi
FIXED IT!!! take out the does '...' line and replace it with this: override parameter_hashref = sub{ my $self = shift; my $args = super(); $args-{password} = delete $args-{new_password}; delete $args-{confirm_new_password}; return $args; }; here's my class: package

Re: [Catalyst] Reaction Authentication

2007-01-25 Thread Guillermo Roditi
it's new_password and confirm_new_password with new_ prepended. that's why it's failing On 1/25/07, Jonas Alves [EMAIL PROTECTED] wrote: On 25/01/07, Jonas Alves [EMAIL PROTECTED] wrote: On 25/01/07, Matt S Trout [EMAIL PROTECTED] wrote: On 25 Jan 2007, at 12:55, Jonas Alves wrote:

Re: [Catalyst] Reaction Authentication

2007-01-25 Thread Guillermo Roditi
what i meant is that you get new_password and confirm_new password, but you still need the original password field see code for Reaction::InterfaceModel::Action::DBIC::User::Role::SetPassword; On 1/25/07, Guillermo Roditi [EMAIL PROTECTED] wrote: it's new_password and confirm_new_password

Re: [Catalyst] Reaction Authentication

2007-01-25 Thread Jonas Alves
On 25/01/07, Guillermo Roditi [EMAIL PROTECTED] wrote: what i meant is that you get new_password and confirm_new password, but you still need the original password field see code for Reaction::InterfaceModel::Action::DBIC::User::Role::SetPassword; Yes, but i have the password field in the

Re: [Catalyst] Reaction Authentication

2007-01-23 Thread Guillermo Roditi
Hey, any chance you could post the working code now that you fixed it. There is no actual real working code for reaction out there, and it'd be nice to look at some real code.. in other words, can I see your finished action and controller classes so i can steal ideas and learn something? I am

Re: [Catalyst] Reaction Authentication

2007-01-16 Thread Matt S Trout
On 15 Jan 2007, at 18:56, Jonas Alves wrote: On 15/01/07, Jonas Alves [EMAIL PROTECTED] wrote: On 14/01/07, Ash Berlin [EMAIL PROTECTED] wrote: Jonas Alves wrote: Hi all, I was starting to put authentication in a Reaction application that i'm developing when I saw that Reaction has

Re: [Catalyst] Reaction Authentication

2007-01-16 Thread Jonas Alves
On 16/01/07, Matt S Trout [EMAIL PROTECTED] wrote: On 15 Jan 2007, at 18:56, Jonas Alves wrote: On 15/01/07, Jonas Alves [EMAIL PROTECTED] wrote: On 14/01/07, Ash Berlin [EMAIL PROTECTED] wrote: Jonas Alves wrote: Hi all, I was starting to put authentication in a Reaction application

Re: [Catalyst] Reaction Authentication

2007-01-15 Thread Jonas Alves
On 14/01/07, Ash Berlin [EMAIL PROTECTED] wrote: Jonas Alves wrote: Hi all, I was starting to put authentication in a Reaction application that i'm developing when I saw that Reaction has this classes: Reaction::InterfaceModel::Action::DBIC::Role::CheckUniques;

Re: [Catalyst] Reaction Authentication

2007-01-15 Thread Jonas Alves
On 15/01/07, Jonas Alves [EMAIL PROTECTED] wrote: On 14/01/07, Ash Berlin [EMAIL PROTECTED] wrote: Jonas Alves wrote: Hi all, I was starting to put authentication in a Reaction application that i'm developing when I saw that Reaction has this classes:

[Catalyst] Reaction Authentication

2007-01-14 Thread Jonas Alves
Hi all, I was starting to put authentication in a Reaction application that i'm developing when I saw that Reaction has this classes: Reaction::InterfaceModel::Action::DBIC::Role::CheckUniques; Reaction::InterfaceModel::Action::DBIC::User::ChangePassword;