Skip to content

Commit 30b9244

Browse files
authored
Merge pull request #6830 from umbraco/cms/release-13.7-15.3
Umbraco 13.7 and 15.3 release documentation updates
2 parents 61b8bf7 + 1136d9e commit 30b9244

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

13/umbraco-cms/reference/configuration/modelsbuildersettings.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ This section allows you to configure the Umbraco models builder, a complete sect
1515
"FlagOutOfDateModels": false,
1616
"ModelsDirectory": "~/umbraco/models",
1717
"AcceptUnsafeModelsDirectory": false,
18-
"DebugLevel": 0
18+
"DebugLevel": 0,
19+
"IncludeVersionNumberInGeneratedModels": true
1920
}
2021
}
2122
}
@@ -61,3 +62,9 @@ By setting this to true, you specify that the models directory is allowed to be
6162
## Debug level
6263

6364
This setting specifies the logging level for the models builder. By default this is set to 0, which means minimal logging. Anything higher that 0 means increased logging. Be aware that this setting should only be set to something higher than 0 for development use, not on live sites.
65+
66+
## Include version number in generated models
67+
68+
When source code options are used, the Umbraco version number written to the generated code for each property of the model. This can be useful for debugging purposes but isn't essential. It causes the generated code to change every time Umbraco is upgraded and models are regenerated. In turn, this leads unnecessary code file changes that need to be checked into source control.
69+
70+
If you prefer to exclude this version number from being written to the generated code, set this value to `false`.

13/umbraco-cms/reference/configuration/securitysettings.md

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ A full configuration with all default values can be seen here:
1818
"AuthCookieName": "UMB_UCONTEXT",
1919
"AuthCookieDomain": "",
2020
"UsernameIsEmail": true,
21+
"MemberRequireUniqueEmail": true,
2122
"UserPassword": {
2223
"RequiredLength": 10,
2324
"RequireNonLetterOrDigit": false,
@@ -72,6 +73,10 @@ The authentication cookie which is set in the browser when a backoffice user log
7273

7374
This setting specifies whether the username and email address are separate fields in the backoffice editor. When set to "false", you can specify an email address and username, only the username can be used to log on. When set to "true" (the default value) the username is hidden and always the same as the email address.
7475

76+
### Member require unique email
77+
78+
By default Umbraco will not allow creation of more than one member account with the same email address. If you wish to allow this, set this value to `false`.
79+
7580
## User password settings
7681

7782
This section lets you define the password rules for users.

15/umbraco-cms/reference/configuration/modelsbuildersettings.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ This section allows you to configure the Umbraco models builder, a complete sect
1515
"FlagOutOfDateModels": false,
1616
"ModelsDirectory": "~/umbraco/models",
1717
"AcceptUnsafeModelsDirectory": false,
18-
"DebugLevel": 0
18+
"DebugLevel": 0,
19+
"IncludeVersionNumberInGeneratedModels": true
1920
}
2021
}
2122
}
@@ -34,7 +35,7 @@ Specifies how the models builder will generate models and when to generate them.
3435

3536
{% hint style="info" %}
3637
When using Models Builder it is best practice to use the "Nothing" setting for all `appsettings.json` files. If needed, the models mode can then be set to "SourceCodeManual" or "SourceCodeAuto" In the `appsettings.json` file used on the local environment.
37-
{% endhint %}
38+
{% endhint %}
3839

3940
## Models namespace
4041

@@ -65,3 +66,9 @@ By setting this to true, you specify that the models directory is allowed to be
6566
## Debug level
6667

6768
This setting specifies the logging level for the models builder. By default this is set to 0, which means minimal logging. Anything higher that 0 means increased logging. Be aware that this setting should only be set to something higher than 0 for development use, not on live sites.
69+
70+
## Include version number in generated models
71+
72+
When source code options are used, the Umbraco version number written to the generated code for each property of the model. This can be useful for debugging purposes but isn't essential. It causes the generated code to change every time Umbraco is upgraded and models are regenerated. In turn, this leads unnecessary code file changes that need to be checked into source control.
73+
74+
If you prefer to exclude this version number from being written to the generated code, set this value to `false`.

15/umbraco-cms/reference/configuration/securitysettings.md

+5
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ A full configuration with all default values can be seen here:
1818
"AuthCookieName": "UMB_UCONTEXT",
1919
"AuthCookieDomain": "",
2020
"UsernameIsEmail": true,
21+
"MemberRequireUniqueEmail": true,
2122
"UserPassword": {
2223
"RequiredLength": 10,
2324
"RequireNonLetterOrDigit": false,
@@ -74,6 +75,10 @@ The authentication cookie which is set in the browser when a backoffice user log
7475

7576
This setting specifies whether the username and email address are separate fields in the backoffice editor. When set to "false", you can specify an email address and username, only the username can be used to log on. When set to "true" (the default value) the username is hidden and always the same as the email address.
7677

78+
### Member require unique email
79+
80+
By default Umbraco will not allow creation of more than one member account with the same email address. If you wish to allow this, set this value to `false`.
81+
7782
### User default lockout time
7883

7984
Use this setting to configure how long time a User is locked out of the Umbraco backoffice when a lockout occurs. The setting accepts an integer which defines the lockout in minutes.

0 commit comments

Comments
 (0)