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;
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
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
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:
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
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
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
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
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
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;
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:
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;
12 matches
Mail list logo