diff options
| author | Adnan Maolood <[email protected]> | 2020-10-21 17:38:58 -0400 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2020-10-21 17:38:58 -0400 |
| commit | 8c4c00b31a4d114f0beff666c2760f4aebab6843 (patch) | |
| tree | 66c36eb114b9ef189ddec946cd0eba2ebb6ec167 /examples/auth.go | |
| parent | Refactor Input and SensitiveInput functions (diff) | |
| download | go-gemini-8c4c00b31a4d114f0beff666c2760f4aebab6843.tar.xz go-gemini-8c4c00b31a4d114f0beff666c2760f4aebab6843.zip | |
examples/auth: Use sensitive input for passwords
Diffstat (limited to 'examples/auth.go')
| -rw-r--r-- | examples/auth.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/auth.go b/examples/auth.go index a0af829..7803fe7 100644 --- a/examples/auth.go +++ b/examples/auth.go @@ -84,7 +84,7 @@ func loginPassword(w *gmi.ResponseWriter, r *gmi.Request) { return } - password, ok := gmi.Input(w, r, "Password") + password, ok := gmi.SensitiveInput(w, r, "Password") if !ok { return } |