WIP - Append extractFormInfo step & AuthChoiceParam for AuthChoice (#1925)

environments/ppa-mbqj77/deployments/805
Christophe Maudoux 6 years ago
parent 14d82c4a79
commit c1af9e49f7
  1. 1
      lemonldap-ng-handler/lib/Lemonldap/NG/Handler/Lib/AuthBasic.pm
  2. 2
      lemonldap-ng-portal/lib/Lemonldap/NG/Portal/Plugins/RESTServer.pm

@ -94,6 +94,7 @@ sub createSession {
build_urlencoded(
user => $user,
password => $pwd,
lmAuth => '', # TODO
secret => $class->tsv->{cipher}->encrypt(time)
)
);

@ -273,7 +273,7 @@ sub newAuthSession {
$req->data->{password} = $req->param('password');
$req->steps( [
@{ $self->p->beforeAuth },
qw(getUser authenticate setAuthSessionInfo),
qw(getUser extractFormInfo authenticate setAuthSessionInfo),
@{ $self->p->betweenAuthAndData },
$self->p->sessionData,
@{ $self->p->afterData },

Loading…
Cancel
Save