fix: remove lamassu login-related filtering
fix: use logger instead of console
This commit is contained in:
parent
b9114b6a33
commit
2ff9ac5bcd
7 changed files with 11 additions and 46 deletions
|
|
@ -76,6 +76,7 @@ const CreateUserModal = ({ state, dispatch }) => {
|
|||
const [createUser, { error }] = useMutation(CREATE_USER, {
|
||||
onCompleted: ({ createRegisterToken: token }) => {
|
||||
const queryParams =
|
||||
// Pazuz-created register tokens add a field to identify the creator
|
||||
process.env.REACT_APP_BUILD_TARGET === 'LAMASSU'
|
||||
? `t=${token.token}`
|
||||
: `t=${token.token}&id=${base64.encode(usernameField)}`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue