From 7b2df0cb8d29ba835be5d645f8b4f70b74b2fcc4 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Wed, 18 Apr 2012 03:33:24 +0200 Subject: fripost-passwd is LDAP ready. --- lib/Fripost/Schema.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/Fripost/Schema.pm') diff --git a/lib/Fripost/Schema.pm b/lib/Fripost/Schema.pm index 22c6064..288aa1e 100755 --- a/lib/Fripost/Schema.pm +++ b/lib/Fripost/Schema.pm @@ -92,10 +92,10 @@ sub add { } -sub password { +sub passwd { my $self = shift; if ( $self->{_type} == MAILBOX ) { - $self->Fripost::Schema::Type::User::pwd(@_); + $self->Fripost::Schema::Type::User::passwd(@_); } elsif ( $self->{_type} == DOMAIN ) { die "Cannot change the password of a domain."; -- cgit v1.2.3