Merge pull request #1849 from girirajsharma/KEYCLOAK-2117

[KEYCLOAK-2117] It is possible to add a user or group attribute with an empty key
This commit is contained in:
Stian Thorgersen 2015-11-26 09:25:49 +01:00
commit 30ec60b4e2
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@
<td><input ng-model="newAttribute.key" class="form-control" type="text" id="newAttributeKey" /></td>
<td><input ng-model="newAttribute.value" class="form-control" type="text" id="newAttributeValue" /></td>
<td class="kc-action-cell">
<button type="button" class="btn btn-default btn-block btn-sm" data-ng-click="addAttribute()">Add</button>
<button class="btn btn-default btn-block btn-sm" data-ng-click="addAttribute()" data-ng-disabled="!newAttribute.key.length || !newAttribute.value.length">Add</button>
</td>
</tr>
</tbody>

View file

@ -27,7 +27,7 @@
<td><input ng-model="newAttribute.key" class="form-control" type="text" id="newAttributeKey" /></td>
<td><input ng-model="newAttribute.value" class="form-control" type="text" id="newAttributeValue" /></td>
<td class="kc-action-cell">
<button type="button" class="btn btn-default btn-block btn-sm" data-ng-click="addAttribute()">Add</button>
<button class="btn btn-default btn-block btn-sm" data-ng-click="addAttribute()" data-ng-disabled="!newAttribute.key.length || !newAttribute.value.length">Add</button>
</td>
</tr>
</tbody>