From 3ac4be64b8df63b59f2cf98b70f739fc96c459a1 Mon Sep 17 00:00:00 2001 From: Satinder Singh Date: Tue, 6 Feb 2024 16:53:50 -0800 Subject: [PATCH] fix: error msg for invalid org & app names in signup (#2679) --- controllers/account.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/controllers/account.go b/controllers/account.go index 8d40a7ed..5d985703 100644 --- a/controllers/account.go +++ b/controllers/account.go @@ -94,7 +94,7 @@ func (c *ApiController) Signup() { return } 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 } @@ -110,7 +110,7 @@ func (c *ApiController) Signup() { } 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 }