mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-16 02:58:14 +02:00
updated default email texts for consistency and set slightly smaller default token durations
This commit is contained in:
1 parent
4ebdfe4a1e
commit
b65b7c5c56
1 file changed
+1
-1
@@ -70,7 +70,7 @@ func (m *Collection) setDefaultAuthOptions() {
|
||||
},
|
||||
AuthToken: TokenConfig{
|
||||
Secret: security.RandomString(50),
|
||||
Duration: 604800, // 7days
|
||||
Duration: 432000, // 5days
|
||||
},
|
||||
PasswordResetToken: TokenConfig{
|
||||
Secret: security.RandomString(50),
|
||||
|
||||
Reference in new issue
Block a user