[Rt-commit] rt branch, admin_ui, updated. 7fb403c3b56123bc07e09c873725b06ab5987a34
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Tue Jan 5 04:23:59 EST 2010
The branch, admin_ui has been updated
via 7fb403c3b56123bc07e09c873725b06ab5987a34 (commit)
from 3e9075ab507e3af6343d46b06ef23b447631b203 (commit)
Summary of changes:
lib/RT/Model/User.pm | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 7fb403c3b56123bc07e09c873725b06ab5987a34
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Jan 5 17:23:43 2010 +0800
before_set_password's args is a hashref
diff --git a/lib/RT/Model/User.pm b/lib/RT/Model/User.pm
index 9abcc87..bbd9dc6 100755
--- a/lib/RT/Model/User.pm
+++ b/lib/RT/Model/User.pm
@@ -742,8 +742,9 @@ to that string.
=cut
sub before_set_password {
- my $self = shift;
- my $password = shift;
+ my $self = shift;
+ my $args = shift;
+ my $password = $args->{value};
unless ( $self->current_user_can_modify('password') ) {
return ( 0, _('password: Permission Denied') );
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list