Skip to content

Commit

Permalink
Add support for API Keys in SignIn
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Apr 26, 2024
1 parent 4addffe commit 51343e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/SignIn.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ async function submit() {
modelValue.value = createDto("Authenticate")
modelValue.value.UserName = null
modelValue.value.Password = null
} else if (authProvider.value.name === 'jwt') {
} else if (authProvider.value.type === 'Bearer' || authProvider.value.name === 'jwt') {
serviceClient.bearerToken = modelValue.value.BearerToken
modelValue.value = createDto("Authenticate")
}
Expand Down

0 comments on commit 51343e5

Please sign in to comment.