portainer/api/adminmonitor
Oscar Zhou 2059a9e064
feat(adminmonitor): redirect to timeout page if admin is not created in 5 mins [EE-2691] (#6688)
This PR solves the issue that the Portainer instance will be always accessible in certain cases, like `restart: always` setting with docker run, even if the administrator is not created in the first 5 minutes. 
The solution is that the user will be redirected to a timeout page when any actions, such as refresh the page and click button, are made after administrator initialisation window(5 minutes) timeout.
2022-04-05 16:29:57 +12:00
..
admin_monitor.go feat(adminmonitor): redirect to timeout page if admin is not created in 5 mins [EE-2691] (#6688) 2022-04-05 16:29:57 +12:00
admin_monitor_test.go feat(adminmonitor): redirect to timeout page if admin is not created in 5 mins [EE-2691] (#6688) 2022-04-05 16:29:57 +12:00