Add session expiration and redirection to 2FA registration
The main.js has been updated to include a timeout function. After 5 minutes (300000 milliseconds), the 'Nauthilus_session' cookie expires and the user is redirected to the 2FA registration page.
Signed-off-by: Christian Roessner c@roessner.co