satellite/console/auth: return in error handle added (#3639)
This commit is contained in:
parent
9af97d366a
commit
e5934cc92a
@ -117,6 +117,7 @@ func (a *Auth) Register(w http.ResponseWriter, r *http.Request) {
|
||||
)
|
||||
if err != nil {
|
||||
a.serveJSONError(w, err)
|
||||
return
|
||||
}
|
||||
|
||||
token, err := a.service.GenerateActivationToken(ctx, user.ID, user.Email)
|
||||
|
Loading…
Reference in New Issue
Block a user