From 8c4c00b31a4d114f0beff666c2760f4aebab6843 Mon Sep 17 00:00:00 2001 From: Adnan Maolood Date: Wed, 21 Oct 2020 17:38:58 -0400 Subject: [PATCH] examples/auth: Use sensitive input for passwords --- examples/auth.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }