feat: encode pazuz_operatoridentifier header
chore: rename cookies to fit a standard fix: small fixes
This commit is contained in:
parent
990ab32583
commit
5b13ffe3d9
14 changed files with 41 additions and 19 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { useMutation } from '@apollo/react-hooks'
|
||||
import { makeStyles } from '@material-ui/core/styles'
|
||||
import base64 from 'base-64'
|
||||
import { Field, Form, Formik } from 'formik'
|
||||
import gql from 'graphql-tag'
|
||||
import React from 'react'
|
||||
|
|
@ -56,7 +57,7 @@ const LoginState = ({ state, dispatch }) => {
|
|||
},
|
||||
context: {
|
||||
headers: {
|
||||
email: username
|
||||
pazuz_operatoridentifier: base64.encode(username)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue