Portal starts even if init() has failed
Concerned version
Version: %2.0
Platform: Apache
Summary
Internal server error when rest second factor is enabled
Logs
[Thu Aug 02 23:28:58.475237 2018] [fcgid:warn] [pid 9382:tid 140545615718144] [client 127.0.0.1:48952] mod_fcgid: stderr: Can't locate object method "display2fRegisters" via package "0" (perhaps you forgot to load "0"?) at /home/maudoux/lemonldap-ng/lemonldap-ng-portal/blib/lib/Lemonldap/NG/Portal/Main/Menu.pm line 104. auth.example.com:80 127.0.0.1 - - [02/Aug/2018:23:28:58 +0200] "GET / HTTP/1.1" 500 1939 auth.example.com:80 127.0.0.1 - - [02/Aug/2018:23:28:58 +0200] "GET /favicon.ico HTTP/1.1" 302 730