Commit 4bab684e authored by Clément OUDOT's avatar Clément OUDOT

Refresh entry after password modification (#1654)

parent d06760a9
......@@ -11,7 +11,7 @@ use Lemonldap::NG::Portal::Main::Constants qw(
PE_PP_PASSWORD_EXPIRED
);
our $VERSION = '2.0.2';
our $VERSION = '2.0.3';
# Inheritance: UserDB::LDAP provides all needed ldap functions
extends
......@@ -55,6 +55,9 @@ sub authenticate {
}
my $res = $self->p->{_passwordDB}->_modifyPassword( $req, 1 );
# Refresh entry
$self->p->{_userDB}->getUser($req);
# Security: never create session here
return $res || PE_DONE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment