Skip to content

Commit 5f87b2d

Browse files
committed
fix: readonly strategy name when editing
1 parent 657986f commit 5f87b2d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

static/templates/partials/edit-oauth2-strategy.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<div class="mb-3">
1010
<label class="form-label" for="name">Name</label>
11-
<input type="text" id="name" name="name" title="Name" class="form-control" placeholder="Name" value="{./name}">
11+
<input type="text" id="name" name="name" title="Name" class="form-control" placeholder="Name" value="{./name}" {{{ if ./name }}}readonly{{{ end }}}>
1212
<p class="form-text">
1313
Enter something unique to your OAuth provider in lowercase, like <code>github</code>, or <code>nodebb</code>.
1414
</p>

0 commit comments

Comments
 (0)