files.com 1.0.184 → 1.0.185
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_VERSION +1 -1
- package/lib/models/Site.js +3 -0
- package/package.json +1 -1
- package/src/models/Site.js +4 -0
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.185
|
package/lib/models/Site.js
CHANGED
@@ -59,6 +59,9 @@ var Site = /*#__PURE__*/(0, _createClass2.default)(function Site() {
|
|
59
59
|
(0, _defineProperty2.default)(this, "getAllowed2faMethodYubi", function () {
|
60
60
|
return _this.attributes.allowed_2fa_method_yubi;
|
61
61
|
});
|
62
|
+
(0, _defineProperty2.default)(this, "getAllowed2faMethodBypassForFtpSftpDav", function () {
|
63
|
+
return _this.attributes.allowed_2fa_method_bypass_for_ftp_sftp_dav;
|
64
|
+
});
|
62
65
|
(0, _defineProperty2.default)(this, "getAdminUserId", function () {
|
63
66
|
return _this.attributes.admin_user_id;
|
64
67
|
});
|
package/package.json
CHANGED
package/src/models/Site.js
CHANGED
@@ -40,6 +40,9 @@ class Site {
|
|
40
40
|
// boolean # Is yubikey two factor authentication allowed?
|
41
41
|
getAllowed2faMethodYubi = () => this.attributes.allowed_2fa_method_yubi
|
42
42
|
|
43
|
+
// boolean # Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
|
44
|
+
getAllowed2faMethodBypassForFtpSftpDav = () => this.attributes.allowed_2fa_method_bypass_for_ftp_sftp_dav
|
45
|
+
|
43
46
|
// int64 # User ID for the main site administrator
|
44
47
|
getAdminUserId = () => this.attributes.admin_user_id
|
45
48
|
|
@@ -491,6 +494,7 @@ class Site {
|
|
491
494
|
// allowed_2fa_method_totp - boolean - Is TOTP two factor authentication allowed?
|
492
495
|
// allowed_2fa_method_webauthn - boolean - Is WebAuthn two factor authentication allowed?
|
493
496
|
// allowed_2fa_method_yubi - boolean - Is yubikey two factor authentication allowed?
|
497
|
+
// allowed_2fa_method_bypass_for_ftp_sftp_dav - boolean - Are users allowed to configure their two factor authentication to be bypassed for FTP/SFTP/WebDAV?
|
494
498
|
// require_2fa - boolean - Require two-factor authentication for all users?
|
495
499
|
// 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)?
|
496
500
|
// color2_top - string - Top bar background color
|