files.com 1.0.275 → 1.0.276

Sign up to get free protection for your applications and to get access to all the features.
package/_VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.275
1
+ 1.0.276
@@ -108,6 +108,7 @@
108
108
  "require_2fa": true,
109
109
  "require_2fa_stop_time": "2000-01-01T01:00:00Z",
110
110
  "require_2fa_user_type": "`site_admins`",
111
+ "require_logout_from_bundles_and_inboxes": true,
111
112
  "session": {
112
113
  "id": "60525f92e859c4c3d74cb02fd176b1525901b525",
113
114
  "language": "en",
@@ -321,6 +322,7 @@
321
322
  * `require_2fa` (boolean): Require two-factor authentication for all users?
322
323
  * `require_2fa_stop_time` (date-time): If set, requirement for two-factor authentication has been scheduled to end on this date-time.
323
324
  * `require_2fa_user_type` (string): What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
325
+ * `require_logout_from_bundles_and_inboxes` (boolean): If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
324
326
  * `session` (Session): Current session
325
327
  * `session_pinned_by_ip` (boolean): Are sessions locked to the same IP? (i.e. do users need to log in again if they change IPs?)
326
328
  * `sftp_enabled` (boolean): Is SFTP enabled?
@@ -441,6 +443,7 @@ await Site.update({
441
443
  'password_require_special': true,
442
444
  'password_require_number': true,
443
445
  'password_require_unbreached': true,
446
+ 'require_logout_from_bundles_and_inboxes': true,
444
447
  'sftp_user_root_enabled': true,
445
448
  'disable_password_reset': true,
446
449
  'immutable_files': true,
@@ -573,6 +576,7 @@ await Site.update({
573
576
  * `password_require_special` (boolean): Require special characters in password?
574
577
  * `password_require_number` (boolean): Require a number in passwords?
575
578
  * `password_require_unbreached` (boolean): Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
579
+ * `require_logout_from_bundles_and_inboxes` (boolean): If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
576
580
  * `sftp_user_root_enabled` (boolean): Use user FTP roots also for SFTP?
577
581
  * `disable_password_reset` (boolean): Is password reset disabled?
578
582
  * `immutable_files` (boolean): Are files protected from modification?
@@ -439,6 +439,10 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
439
439
  (0, _defineProperty2.default)(this, "getRequire2faUserType", function () {
440
440
  return _this.attributes.require_2fa_user_type;
441
441
  });
442
+ // boolean # If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
443
+ (0, _defineProperty2.default)(this, "getRequireLogoutFromBundlesAndInboxes", function () {
444
+ return _this.attributes.require_logout_from_bundles_and_inboxes;
445
+ });
442
446
  // Session # Current session
443
447
  (0, _defineProperty2.default)(this, "getSession", function () {
444
448
  return _this.attributes.session;
@@ -709,6 +713,7 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
709
713
  // password_require_special - boolean - Require special characters in password?
710
714
  // password_require_number - boolean - Require a number in passwords?
711
715
  // password_require_unbreached - boolean - Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
716
+ // require_logout_from_bundles_and_inboxes - boolean - If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
712
717
  // sftp_user_root_enabled - boolean - Use user FTP roots also for SFTP?
713
718
  // disable_password_reset - boolean - Is password reset disabled?
714
719
  // immutable_files - boolean - Are files protected from modification?
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "files.com",
3
- "version": "1.0.275",
3
+ "version": "1.0.276",
4
4
  "description": "Files.com SDK for JavaScript",
5
5
  "keywords": [
6
6
  "files.com",
@@ -329,6 +329,9 @@ class Site {
329
329
  // string # What type of user is required to use two-factor authentication (when require_2fa is set to `true` for this site)?
330
330
  getRequire2faUserType = () => this.attributes.require_2fa_user_type
331
331
 
332
+ // boolean # If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
333
+ getRequireLogoutFromBundlesAndInboxes = () => this.attributes.require_logout_from_bundles_and_inboxes
334
+
332
335
  // Session # Current session
333
336
  getSession = () => this.attributes.session
334
337
 
@@ -520,6 +523,7 @@ class Site {
520
523
  // password_require_special - boolean - Require special characters in password?
521
524
  // password_require_number - boolean - Require a number in passwords?
522
525
  // password_require_unbreached - boolean - Require passwords that have not been previously breached? (see https://haveibeenpwned.com/)
526
+ // require_logout_from_bundles_and_inboxes - boolean - If true, we will hide the 'Remember Me' box on Inbox and Bundle registration pages, requiring that the user logout and log back in every time they visit the page.
523
527
  // sftp_user_root_enabled - boolean - Use user FTP roots also for SFTP?
524
528
  // disable_password_reset - boolean - Is password reset disabled?
525
529
  // immutable_files - boolean - Are files protected from modification?