files.com 1.0.233 → 1.0.234
Sign up to get free protection for your applications and to get access to all the features.
- package/_VERSION +1 -1
- package/docs/models/User.md +3 -3
- package/package.json +1 -1
- package/src/models/User.js +1 -1
package/_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.234
|
package/docs/models/User.md
CHANGED
@@ -64,7 +64,7 @@
|
|
64
64
|
"type_of_2fa": "yubi",
|
65
65
|
"updated_at": "2000-01-01T01:00:00Z",
|
66
66
|
"user_root": "example",
|
67
|
-
"days_remaining_until_password_expire":
|
67
|
+
"days_remaining_until_password_expire": 1,
|
68
68
|
"password_expire_at": "2000-01-01T01:00:00Z"
|
69
69
|
}
|
70
70
|
```
|
@@ -127,7 +127,7 @@
|
|
127
127
|
* `type_of_2fa` (string): Type(s) of 2FA methods in use. Will be either `sms`, `totp`, `u2f`, `yubi`, or multiple values sorted alphabetically and joined by an underscore.
|
128
128
|
* `updated_at` (date-time): User record most recently updated at. Note this may be incremented because of internal or external updates.
|
129
129
|
* `user_root` (string): Root folder for FTP (and optionally SFTP if the appropriate site-wide setting is set.) Note that this is not used for API, Desktop, or Web interface.
|
130
|
-
* `days_remaining_until_password_expire` (
|
130
|
+
* `days_remaining_until_password_expire` (int64): Number of days remaining until password expires
|
131
131
|
* `password_expire_at` (date-time): Password expiration datetime
|
132
132
|
* `avatar_file` (file): An image file for your user avatar.
|
133
133
|
* `avatar_delete` (boolean): If true, the avatar will be deleted.
|
@@ -484,7 +484,7 @@ await user.update({
|
|
484
484
|
"type_of_2fa": "yubi",
|
485
485
|
"updated_at": "2000-01-01T01:00:00Z",
|
486
486
|
"user_root": "example",
|
487
|
-
"days_remaining_until_password_expire":
|
487
|
+
"days_remaining_until_password_expire": 1,
|
488
488
|
"password_expire_at": "2000-01-01T01:00:00Z"
|
489
489
|
}
|
490
490
|
```
|
package/package.json
CHANGED
package/src/models/User.js
CHANGED
@@ -421,7 +421,7 @@ class User {
|
|
421
421
|
this.attributes.user_root = value
|
422
422
|
}
|
423
423
|
|
424
|
-
//
|
424
|
+
// int64 # Number of days remaining until password expires
|
425
425
|
getDaysRemainingUntilPasswordExpire = () => this.attributes.days_remaining_until_password_expire
|
426
426
|
|
427
427
|
setDaysRemainingUntilPasswordExpire = value => {
|