-
Notifications
You must be signed in to change notification settings - Fork 189
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some enhancement of the lockout mechanism
- Loading branch information
Showing
8 changed files
with
57 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,11 @@ | ||
SilverBullet supports simple authentication for a single user. | ||
|
||
By simply passing the `--user` flag with a username:password combination, you enable authentication for a single user. For instance: | ||
By passing the `--user` flag with a username:password combination, you enable authentication for a single user. For instance: | ||
|
||
```shell | ||
silverbullet --user pete:1234 . | ||
``` | ||
|
||
Will let `pete` authenticate with password `1234`. | ||
|
||
Alternatively, the same information can be passed in via the `SB_USER` environment variable, e.g. | ||
|
||
```shell | ||
SB_USER=pete:1234 silverbullet . | ||
``` | ||
|
||
This is especially convenient when deploying using Docker | ||
Authentication can also be configured via environment variables (which offer a bit more flexibility), see [[Install/Configuration#Authentication]]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters