more pod fixes
[catagits/Reaction.git] / lib / Reaction / InterfaceModel / Action / DBIC / User / Role / SetPassword.pm
CommitLineData
7adfd53f 1package Reaction::InterfaceModel::Action::DBIC::User::Role::SetPassword;
2
3use Reaction::Role;
4
81393881 5use namespace::clean -except => [ qw(meta) ];
7adfd53f 6
7adfd53f 7
81393881 8#requires qw/target_model/;
9sub do_apply {
10 my $self = shift;
11 my $user = $self->target_model;
12 $user->password($self->new_password);
13 $user->update;
14 return $user;
7adfd53f 15};
16
81393881 17
18
7adfd53f 191;
20
21=head1 NAME
22
e0bf6a9f 23Reaction::InterfaceModel::Action::DBIC::User::Role::SetPassword
7adfd53f 24
25=head1 DESCRIPTION
26
27=head2 meta
28
29=head1 AUTHORS
30
31See L<Reaction::Class> for authors.
32
33=head1 LICENSE
34
35See L<Reaction::Class> for the license.
36
37=cut