Skip to content

Commit

Permalink
Merge pull request #7303 from TheThingsNetwork/fix/console-oauth-labels
Browse files Browse the repository at this point in the history
Update oauth-client-form grant type labels
  • Loading branch information
nicholaspcr authored Sep 13, 2024
2 parents e9460fd + 593f8a5 commit 4b14915
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/webui/console/components/oauth-client-form/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ const OAuthClientForm = props => {
component={Checkbox.Group}
description={m.grantsDesc}
>
<Checkbox name="GRANT_AUTHORIZATION_CODE" label={m.grantAuthorizationLabel} />
<Checkbox name="GRANT_AUTHORIZATION_CODE" label={sharedMessages.authorizationCode} />
<Checkbox name="GRANT_REFRESH_TOKEN" label={m.grantRefreshTokenLabel} />
{isAdmin && <Checkbox name="GRANT_PASSWORD" label={m.grantPasswordLabel} />}
{isAdmin && <Checkbox name="GRANT_PASSWORD" label={sharedMessages.password} />}
</Form.Field>
</>
)}
Expand Down

0 comments on commit 4b14915

Please sign in to comment.