Sfoglia il codice sorgente

pass auth token as string

pull/1/head
Jonathan Cobb 5 anni fa
parent
commit
8ccb01dd14
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/_services/user.service.js

+ 1
- 1
src/_services/user.service.js Vedi File

@@ -88,7 +88,7 @@ function approveAction(id, code, messages, errors) {
function sendAuthenticatorCode(id, code, verifyOnly, messages, errors) {
return fetch(`${config.apiUrl}/auth/authenticator`, postWithAuth({
account: id,
token: parseInt(code),
token: code,
verify: verifyOnly
}))
.then(handleCrudResponse(messages, errors))


Caricamento…
Annulla
Salva