Reimplemented access and refresh tokens.
This commit is contained in:
+3
-1
@@ -1,4 +1,6 @@
|
||||
RUST_LOG=info
|
||||
HOST=127.0.0.1
|
||||
PORT=3000
|
||||
DATABASE_URL=postgres://expenses:expenses@localhost:5432/expenses
|
||||
DATABASE_URL=postgres://expenses:expenses@localhost:5432/expenses
|
||||
ACCESS_TOKEN_LIFETIME_SECONDS=3600 # 1 hour
|
||||
REFRESH_TOKEN_LIFETIME_SECONDS=2592000 # 30 days
|
||||
Reference in New Issue
Block a user