1 Commits
v0.0.5 ... main

Author SHA1 Message Date
b457c74d49 fix auth stuff 2025-12-18 14:12:00 -05:00

View File

@@ -33,6 +33,6 @@ func authenticatedMiddleware(deps *deps, next http.Handler) http.Handler {
}) })
} }
func CurrentUser(r *http.Request) any { func CurrentUser(r *http.Request) SessionUser {
return r.Context().Value(userContextKey{}) return r.Context().Value(userContextKey{}).(SessionUser)
} }