Open FatTigerWang opened 2 months ago
@FatTigerWang I think some of the network call failed to get the required JS files. Please check the network tab if everything is success.
@FatTigerWang I think some of the network call failed to get the required JS files. Please check the network tab if everything is success.
I updated the image and can see that JS can be loaded
Please note that security bugs or issues should be reported to security@pgadmin.org.
Describe the bug
Unable to log in, keeps showing loading
To Reproduce
Steps to reproduce the behavior:
Expected behavior
show login page, no errors
Error message
window.renderSecurityPage is not a function
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
I guess the error is caused by the loading order. When executing window.renderSecurityPage, security.pages js has not been loaded yet. Not sure why require does not work. If I debug, security.pages will have time to load and window.renderSecurityPage executes correctly.