roles added for register v2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user