Skip to content

Commit

Permalink
🔥 Removes secrets support, now natively supported by Hassio
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Sep 24, 2019
1 parent ee5087b commit 7e2b6c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,14 +198,10 @@ The username the user needs to use to login to the FTP server. A valid username
has a maximum of 32 characters, contains only `A-Z` and `0-9`.
Usernames may contain a hyphen (`-`) but must not start or end with one.

**Note**: _This option support secrets, e.g., `!secret ftp_username`._

#### Sub-option: `password`

The password the user logs in with.

**Note**: _This option support secrets, e.g., `!secret ftp_password`._

#### Sub-option: `allow_chmod`

Setting this option to `true` will allow the use of the `SITE CHMOD` command for
Expand Down
2 changes: 1 addition & 1 deletion ftp/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"max_clients": "int",
"users": [
{
"username": "match(^!secret [a-zA-Z0-9_\\-]+$|^[a-zA-Z0-9\\d](?:[a-zA-Z0-9\\d]|-(?=[a-zA-Z0-9\\d])){0,32}$)",
"username": "match(^[a-zA-Z0-9\\d](?:[a-zA-Z0-9\\d]|-(?=[a-zA-Z0-9\\d])){0,32}$)",
"password": "str",
"allow_chmod": "bool",
"allow_download": "bool",
Expand Down

0 comments on commit 7e2b6c3

Please sign in to comment.