Browse Source

pass auth token as string

pull/1/head
Jonathan Cobb 5 years ago
parent
commit
8ccb01dd14
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/_services/user.service.js

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

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


Loading…
Cancel
Save