Browse Source

Removing hard-coded activation key

master
GabrielTrettel 3 years ago
parent
commit
5a42137f92
  1. 2
      src/app/api/auth.js

2
src/app/api/auth.js

@ -68,7 +68,7 @@ async function userActivation(code) {
localClient.setHeader("Authorization", `Bearer ${authToken}`);
return localClient.post(`/activate?username=${username}&activationkey=0b7b37bb-0f6d-4c65-b1b4-d7cc816f52bd`);
return localClient.post(`/activate?username=${username}&activationkey=${code}`);
}
async function existUsername(username) {

Loading…
Cancel
Save