| Reaction documentation | Contained in the Reaction distribution. |
Reaction::InterfaceModel::Action::DBIC::User::Role::SetPassword
See Reaction::Class for authors.
See Reaction::Class for the license.
| Reaction documentation | Contained in the Reaction distribution. |
package Reaction::InterfaceModel::Action::DBIC::User::Role::SetPassword; use Reaction::Role; use namespace::clean -except => [ qw(meta) ]; #requires qw/target_model/; sub do_apply { my $self = shift; my $user = $self->target_model; $user->password($self->new_password); $user->update; return $user; }; 1;