Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Commit 77898aa

Browse files
author
Robert
committed
Updated to use null defaults for givenName, surname
1 parent 0c2b643 commit 77898aa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ web:
6767
enabled: true
6868
label: "First Name"
6969
placeholder: "First Name"
70-
required: false
70+
required: null
7171
type: "text"
7272
middleName:
7373
enabled: false
@@ -79,7 +79,7 @@ web:
7979
enabled: true
8080
label: "Last Name"
8181
placeholder: "Last Name"
82-
required: false
82+
required: null
8383
type: "text"
8484
username:
8585
enabled: false

test/controllers/test-register.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ DefaultRegistrationFixture.prototype.defaultJsonViewModel = {
7070
'label': 'First Name',
7171
'name': 'givenName',
7272
'placeholder': 'First Name',
73-
'required': true,
73+
'required': null,
7474
'type': 'text'
7575
},
7676
{
7777
'label': 'Last Name',
7878
'name': 'surname',
7979
'placeholder': 'Last Name',
80-
'required': true,
80+
'required': null,
8181
'type': 'text'
8282
},
8383
{

0 commit comments

Comments
 (0)