Bad Autologin rule lead to error 500 and crash the portal
Concerned version
Version: %2.0.6
Platform: Nginx
Summary
A bad rule in Autosignin plugin should not lead to an complete crash of portal.(500 error)
Simply log the error, and skipping the rule should be the rigth behaviour
Logs
[error] Bad Autologin rule "$env->{REMOTE_ADDR} =~ /^10\.193\.55.([5-9]|1[0-5])$: $@"
....
[error] Error 500: Unable to protect this server(LemonLdap::NG:Common.....
Backends used
MongoDB
Possible fixes
Simply log the error, and skipping the rule