Skip to content

Commit

Permalink
Disabled the possibility to edit the identifier if its already set an…
Browse files Browse the repository at this point in the history
…d saved
  • Loading branch information
nc-fkl committed Nov 21, 2023
1 parent 8e6a8d7 commit ebcd5c1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/SettingsForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
v-model="localProvider.identifier"
type="text"
:placeholder="t('user_oidc', 'Display name to identify the provider')"
:disabled="identifierInitiallySet"
required>
</p>
<p>
Expand Down Expand Up @@ -194,7 +195,8 @@ export default {
},
created() {
this.localProvider = this.provider
},
this.identifierInitiallySet = !!this.localProvider.identifier
}

Check warning on line 199 in src/components/SettingsForm.vue

View workflow job for this annotation

GitHub Actions / eslint node

Missing trailing comma
}
</script>

Expand Down

0 comments on commit ebcd5c1

Please sign in to comment.