diff options
author | khai96_ <hvksmr1996@gmail.com> | 2019-04-19 11:56:23 +0000 |
---|---|---|
committer | khai96_ <hvksmr1996@gmail.com> | 2019-04-19 11:56:23 +0000 |
commit | 6a5c58ee79fc9b4714784ef136a377bc71e6d01d (patch) | |
tree | b32c4e206c36b93d15fcf87a60a985d0ee2ab24d /src/main.rs | |
parent | Merge pull request #74 from KSXGitHub/pullrequest.editorconfig (diff) | |
download | miniserve-6a5c58ee79fc9b4714784ef136a377bc71e6d01d.tar.gz miniserve-6a5c58ee79fc9b4714784ef136a377bc71e6d01d.zip |
Add support for hashed password (sha256)
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 42a43b5..96e05c0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -35,7 +35,7 @@ pub struct MiniserveConfig { pub interfaces: Vec<IpAddr>, /// Enable HTTP basic authentication - pub auth: Option<auth::BasicAuthParams>, + pub auth: Option<auth::RequiredAuth>, /// If false, miniserve will serve the current working directory pub path_explicitly_chosen: bool, |