moved to visa

This commit is contained in:
Risotto Bias 2025-04-07 05:36:03 -06:00
parent 4ebab3cb80
commit 94b6336ae9
8 changed files with 1 additions and 18 deletions

View file

@ -1 +0,0 @@
package whoisthis

View file

@ -1 +0,0 @@
package argon2id

View file

@ -1 +0,0 @@
package bcrypt

View file

@ -1,9 +0,0 @@
package login
type LoginResult string
type LoginMethod interface {
Login()
Logout()
Recover()
}

View file

@ -1,3 +0,0 @@
package md5pepper
// an old historical implementation

View file

@ -1 +0,0 @@
package whoisthis

View file

@ -15,7 +15,7 @@ func (wis WhoIsThis) Authed(next http.Handler) http.Handler {
user, err := wis.LookupReqFn(r)
if err != nil {
http.Error(w, "please sign-in", http.StatusUnauthorized)
wis.DenyFn(w, r)
return
}
ctxWithUser := context.WithValue(r.Context(), ContextUserId, user)

View file

@ -1 +0,0 @@
package whoisthis