fix: error msg for invalid org & app names in signup (#2679)

This commit is contained in:
Satinder Singh
2024-02-06 16:53:50 -08:00
committed by GitHub
parent 97db54b6b9
commit 3ac4be64b8

View File

@ -94,7 +94,7 @@ func (c *ApiController) Signup() {
return return
} }
if application == nil { if application == nil {
c.ResponseError(fmt.Sprintf(c.T("auth:The application: %s does not exist")), authForm.Application) c.ResponseError(fmt.Sprintf(c.T("auth:The application: %s does not exist"), authForm.Application))
return return
} }
@ -110,7 +110,7 @@ func (c *ApiController) Signup() {
} }
if organization == nil { if organization == nil {
c.ResponseError(fmt.Sprintf(c.T("auth:The organization: %s does not exist")), authForm.Organization) c.ResponseError(fmt.Sprintf(c.T("auth:The organization: %s does not exist"), authForm.Organization))
return return
} }