Function authLogout is missing in package "Lemonldap::NG::Portal::Auth::SSL"
Concerned version
Version: 2.0.0
Summary
Hello.
Function authLogout is missing in package "Lemonldap::NG::Portal::Auth::SSL" (file /usr/share/perl5/Lemonldap/NG/Portal/Auth/SSL.pm on Debian) with LemonLDAP::NG 2.0.0. When you logout with SSL authentication, it raises an 500 error :
Logs
2018/12/01 12:53:39 [error] 32328#32328: *1764 FastCGI sent in stderr: "Can't locate object method "authLogout" via package "Lemonldap::NG::Portal::Auth::SSL" at /usr/share/perl5/Lemonldap/NG/Common/Combination/Parser.pm line 138" while reading response header from upstream, client: 127.0.0.1, server: auth.example.com, request: "GET /?logout=1 HTTP/2.0", upstream: "fastcgi://unix:/var/run/llng-fastcgi-server/llng-fastcgi.sock:", host: "auth.example.com", referrer: "https://auth.example.com/?logout=1"
Possible fixes
Fixing is easy, just add three lines after authenticate function (line 58) :
sub authLogout { PE_OK; }
Kind regards.
Damien Wertz