Moved the restricted-api iframe src to /auth/api/restricted and removed the endpoint of the other restricted app.

This commit is contained in:
2025-12-02 18:34:59 +00:00
parent 15916047fa
commit eedbd4aaa4
6 changed files with 14 additions and 17 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ function showAuthIframe() {
authIframe = document.createElement('iframe')
authIframe.id = 'auth-iframe'
authIframe.title = 'Authentication'
authIframe.src = '/auth/restricted-api/?mode=login'
authIframe.src = '/auth/api/restricted?mode=login'
document.body.appendChild(authIframe)
loadingMessage.value = 'Authentication required...'
}
+1 -1
View File
@@ -330,7 +330,7 @@ function showAuthIframe() {
authIframe = document.createElement('iframe')
authIframe.id = 'auth-iframe'
authIframe.title = 'Authentication'
authIframe.src = '/auth/restricted-api/?mode=login'
authIframe.src = '/auth/api/restricted?mode=login'
document.body.appendChild(authIframe)
loadingMessage.value = 'Authentication required...'
}