Skip to content

Commit

Permalink
refresh ttl fixed to 30 days
Browse files Browse the repository at this point in the history
  • Loading branch information
carduz committed Jan 7, 2016
1 parent 403f6b1 commit 07d42f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/jwt.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
|
*/

'refresh_ttl' => 20160,
'refresh_ttl' => 43200, //30 days

/*
|--------------------------------------------------------------------------
Expand Down
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ After cloning and installing repository:
* tmp dir permissions needed
* The library is tested only on linux, we don't know the behaviour of critical parts (optimisation and caldav sync) on other systems
* Details about optimisation task [https://docs.google.com/document/d/18vCFEVrd8ENgS80hC-ACjSicDFYXV2QjoFiO3FiGZ5w/edit](https://docs.google.com/document/d/18vCFEVrd8ENgS80hC-ACjSicDFYXV2QjoFiO3FiGZ5w/edit)
* 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


# Credits
Expand Down

0 comments on commit 07d42f9

Please sign in to comment.