Fix js build

This commit is contained in:
Viktor Liu
2025-10-02 15:59:17 +02:00
parent 66483ab48d
commit b3c7b3c7b2
5 changed files with 86 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
//go:build js
package server
import (
"os/user"
)
// parseUserCredentials is not supported on JS/WASM
func (s *Server) parseUserCredentials(_ *user.User) (uint32, uint32, []uint32, error) {
return 0, 0, nil, errNotSupported
}