No authentication popup
This commit is contained in:
parent
8de1cee8ee
commit
62640cf60d
@ -13,7 +13,9 @@ if ('pages' === topSection) {
|
||||
document.body.classList.add('author')
|
||||
} else {
|
||||
// Check if access is authorized to root page
|
||||
fetch('/').then(() => document.body.classList.add('author'))
|
||||
// xBasic is to not have the authentication popup
|
||||
fetch('/', {headers: {'WWW-Authenticate': 'xBasic'}})
|
||||
.then(result => { if (result.status === 200) document.body.classList.add('author') })
|
||||
}
|
||||
|
||||
// Setup a "property" attribute, to send to the backend for insertion/update/deletion
|
||||
|
Loading…
Reference in New Issue
Block a user