Skip to content

Commit

Permalink
removed automatic verification for dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
SudoThijn committed Jan 23, 2025
1 parent ebdbbe8 commit 9932827
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/modals/Synchronization/EditSynchronization.vue
Original file line number Diff line number Diff line change
Expand Up @@ -552,25 +552,6 @@ export default {
console.info('Installing Open Register')
const requesttoken = document.querySelector('head[data-requesttoken]').getAttribute('data-requesttoken')
if (window.location.hostname === 'nextcloud.local') {
await fetch('http://nextcloud.local/index.php/login/confirm', {
headers: {
accept: 'application/json, text/plain, */*',
'accept-language': 'en-US,en;q=0.9,nl;q=0.8',
'cache-control': 'no-cache',
'content-type': 'application/json',
pragma: 'no-cache',
requesttoken,
'x-requested-with': 'XMLHttpRequest, XMLHttpRequest',
},
referrerPolicy: 'no-referrer',
body: '{"password":"admin"}',
method: 'POST',
mode: 'cors',
credentials: 'include',
})
}
const forceResponse = await fetch('/index.php/settings/apps/force', {
headers: {
accept: 'application/json, text/plain, */*',
Expand Down

0 comments on commit 9932827

Please sign in to comment.