Skip to content

Commit 565e102

Browse files
authored
Bug Fix: allow certificates to be copy/pasted on LDAP auth config (#8573) (#8581)
* change certificate field to textarea to allow line breaks * add space
1 parent 8e416d3 commit 565e102

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ui/app/models/auth-config/ldap.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
import { computed } from '@ember/object';
22

3+
import DS from 'ember-data';
34
import AuthConfig from '../auth-config';
45
import fieldToAttrs from 'vault/utils/field-to-attrs';
56
import { combineFieldGroups } from 'vault/utils/openapi-to-attrs';
67

8+
const { attr } = DS;
9+
710
export default AuthConfig.extend({
811
useOpenAPI: true,
12+
certificate: attr({
13+
label: 'Certificate',
14+
editType: 'textarea',
15+
}),
916
fieldGroups: computed(function() {
1017
let groups = [
1118
{

0 commit comments

Comments
 (0)