Skip to content

Commit

Permalink
Removed the credentials set to true
Browse files Browse the repository at this point in the history
  • Loading branch information
Oliviier-dev committed Mar 14, 2024
1 parent 8ef4ac8 commit c1911fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions UI/Javascript/login-formvalidations.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ myForm.addEventListener('submit', async function(event){
headers: {
'content-Type' : 'application/json'
},
body: JSON.stringify(userCredentials),
//credentials: 'include'
body: JSON.stringify(userCredentials)
})
.then(response => {
if(!response.ok) {
Expand Down

0 comments on commit c1911fa

Please sign in to comment.