Skip to content

Commit 07d42f9

Browse files
committed
refresh ttl fixed to 30 days
1 parent 403f6b1 commit 07d42f9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

config/jwt.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
|
3939
*/
4040

41-
'refresh_ttl' => 20160,
41+
'refresh_ttl' => 43200, //30 days
4242

4343
/*
4444
|--------------------------------------------------------------------------

readme.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ After cloning and installing repository:
5353
* tmp dir permissions needed
5454
* The library is tested only on linux, we don't know the behaviour of critical parts (optimisation and caldav sync) on other systems
5555
* Details about optimisation task [https://docs.google.com/document/d/18vCFEVrd8ENgS80hC-ACjSicDFYXV2QjoFiO3FiGZ5w/edit](https://docs.google.com/document/d/18vCFEVrd8ENgS80hC-ACjSicDFYXV2QjoFiO3FiGZ5w/edit)
56+
* after 30 days you have to re-login, this for security reasons to avoid that a malicious guy can use the token to get new tokens and he stays always connected even if you change password
5657

5758

5859
# Credits

0 commit comments

Comments
 (0)