updated default email texts for consistency and set slightly smaller default token durations
This commit is contained in:
@@ -70,7 +70,7 @@ func (m *Collection) setDefaultAuthOptions() {
|
|||||||
},
|
},
|
||||||
AuthToken: TokenConfig{
|
AuthToken: TokenConfig{
|
||||||
Secret: security.RandomString(50),
|
Secret: security.RandomString(50),
|
||||||
Duration: 604800, // 7days
|
Duration: 432000, // 5days
|
||||||
},
|
},
|
||||||
PasswordResetToken: TokenConfig{
|
PasswordResetToken: TokenConfig{
|
||||||
Secret: security.RandomString(50),
|
Secret: security.RandomString(50),
|
||||||
|
|||||||
Reference in New Issue
Block a user