Skip to content

Commit 695f00a

Browse files
committed
Merge remote-tracking branch 'upstream/master'
2 parents 4f3ad39 + 1c626d5 commit 695f00a

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Options/Definitions.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ module.exports.ParseServerOptions = {
156156
},
157157
expireInactiveSessions: {
158158
env: 'PARSE_SERVER_EXPIRE_INACTIVE_SESSIONS',
159-
help: 'Sets wether we should expire the inactive sessions, defaults to true',
159+
help:
160+
'Sets whether we should expire the inactive sessions, defaults to true. If false, all new sessions are created with no expiration date.',
160161
action: parsers.booleanParser,
161162
default: true,
162163
},

src/Options/docs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
* @property {Boolean} enableAnonymousUsers Enable (or disable) anonymous users, defaults to true
2929
* @property {Boolean} enableExpressErrorHandler Enables the default express error handler for all errors
3030
* @property {String} encryptionKey Key for encrypting your files
31-
* @property {Boolean} expireInactiveSessions Sets wether we should expire the inactive sessions, defaults to true
31+
* @property {Boolean} expireInactiveSessions Sets whether we should expire the inactive sessions, defaults to true. If false, all new sessions are created with no expiration date.
3232
* @property {String} fileKey Key for your files
3333
* @property {Adapter<FilesAdapter>} filesAdapter Adapter module for the files sub-system
3434
* @property {FileUploadOptions} fileUpload Options for file uploads

src/Options/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export interface ParseServerOptions {
170170
sessionLength: ?number;
171171
/* Max value for limit option on queries, defaults to unlimited */
172172
maxLimit: ?number;
173-
/* Sets wether we should expire the inactive sessions, defaults to true
173+
/* Sets whether we should expire the inactive sessions, defaults to true. If false, all new sessions are created with no expiration date.
174174
:DEFAULT: true */
175175
expireInactiveSessions: ?boolean;
176176
/* When a user changes their password, either through the reset password email or while logged in, all sessions are revoked if this is true. Set to false if you don't want to revoke sessions.

0 commit comments

Comments
 (0)