roles added for register v2

This commit is contained in:
2026-03-20 18:29:33 +05:00
parent 650f66e647
commit 60a4e7a2b8

View File

@@ -139,6 +139,8 @@ func (s *Server) AuthRefresh(w http.ResponseWriter, r *http.Request) {
}
s.issueTokens(w, r, user)
}
// working
func (s *Server) AuthRegister(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()
var req api.RegisterRequest