Skip to content

Commit b1e585a

Browse files
committed
Change configs
- Change default password expiration days to 180 - Change default 'change email' status to true
1 parent 0c3f14b commit b1e585a

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
5959

6060
# Access
6161
ADMIN_REQUIRES_2FA=true
62-
CHANGE_EMAIL=false
62+
CHANGE_EMAIL=true
6363
ENABLE_REGISTRATION=true
6464
PASSWORD_HISTORY=3
6565
SINGLE_LOGIN=false
66-
PASSWORD_EXPIRES_DAYS=120
66+
PASSWORD_EXPIRES_DAYS=180
6767

6868
# Captcha
6969
# Get your credentials at: https://www.google.com/recaptcha/admin

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ All notable changes to this project will be documented in this file.
1010
- Be explicit when showing type labels in the backend
1111
- Added method and scope to get users by type
1212
- Moved frontend user routes to own file
13+
- Change default password expiration days to 180
14+
- Change default 'change email' status to true
1315

1416
## [7.1.0] - 2020-07-07
1517

config/boilerplate.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
* Whether or not a user can change their email address after
3535
* their account has already been created
3636
*/
37-
'change_email' => env('CHANGE_EMAIL', false),
37+
'change_email' => env('CHANGE_EMAIL', true),
3838

3939
/*
4040
* When creating users from the backend, only allow the assigning of roles and not individual permissions
@@ -45,7 +45,7 @@
4545
* How many days before users have to change their passwords
4646
* false is off
4747
*/
48-
'password_expires_days' => env('PASSWORD_EXPIRES_DAYS', 120),
48+
'password_expires_days' => env('PASSWORD_EXPIRES_DAYS', 180),
4949

5050
/*
5151
* The number of most recent previous passwords to check against when changing/resetting a password

0 commit comments

Comments
 (0)