Update appSetting for refresh token & Update documentation
This commit is contained in:
1 parent
05c051ae3a
commit
581b6217a9
2 files changed
+12
-2
No files matched your search
@@ -22,6 +22,11 @@ const AppSettingsSchema = mongoose.Schema(
|
||||
required: true,
|
||||
default: "my_secret",
|
||||
},
|
||||
refreshTokenSecret: {
|
||||
type: String,
|
||||
required: true,
|
||||
default: "my_refresh_secret",
|
||||
},
|
||||
dbType: {
|
||||
type: String,
|
||||
required: true,
|
||||
@@ -44,7 +49,12 @@ const AppSettingsSchema = mongoose.Schema(
|
||||
jwtTTL: {
|
||||
type: String,
|
||||
required: true,
|
||||
default: "99d",
|
||||
default: "2h",
|
||||
},
|
||||
refreshTokenTTL: {
|
||||
type: String,
|
||||
required: true,
|
||||
default: "7d",
|
||||
},
|
||||
pagespeedApiKey: {
|
||||
type: String,
|
||||
|
||||
Reference in new issue
Block a user