Skip to content

Commit e09b0bf

Browse files
committed
docs: add UPGRADING.md
1 parent 68ce900 commit e09b0bf

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

UPGRADING.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22

33
## Version 1.0.0-beta.6 to 1.0.0-beta.7
44

5-
### Install New Config AuthToken.php
5+
### Mandatory Config Changes
6+
7+
#### New Config\AuthToken
68

79
A new Config file **AuthToken.php** has been introduced. Run `php spark shield:setup`
810
again to install it into **app/Config/**, or install it manually.
@@ -11,6 +13,16 @@ Then change the default settings as necessary. When using Token authentication,
1113
the default value has been changed from all accesses to be recorded in the
1214
``token_logins`` table to only accesses that fail authentication to be recorded.
1315

16+
#### Config\Auth
17+
18+
The following items have been moved. They are no longer used and should be removed.
19+
20+
- `$authenticatorHeader` and `$unusedTokenLifetime` are moved to `Config\AuthToken`.
21+
22+
The following items have been added. Copy the properties in **src/Config/Auth.php**.
23+
24+
- `$usernameValidationRules` and `$emailValidationRules` are added.
25+
1426
## Version 1.0.0-beta.3 to 1.0.0-beta.4
1527

1628
### Important Password Changes

0 commit comments

Comments
 (0)