mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-05-23 00:15:19 +03:00
Add support for password hashes as an optional alternative to plaintext passwords (#216)
This commit is contained in:
parent
29b017f277
commit
2c2db61158
8 changed files with 67 additions and 10 deletions
|
@ -34,6 +34,7 @@ const (
|
|||
DefaultConfigFilePath = "/etc/wireguard/wg0.conf"
|
||||
UsernameEnvVar = "WGUI_USERNAME"
|
||||
PasswordEnvVar = "WGUI_PASSWORD"
|
||||
PasswordHashEnvVar = "WGUI_PASSWORD_HASH"
|
||||
EndpointAddressEnvVar = "WGUI_ENDPOINT_ADDRESS"
|
||||
DNSEnvVar = "WGUI_DNS"
|
||||
MTUEnvVar = "WGUI_MTU"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue