Customer Order
This commit is contained in:
@@ -54,6 +54,11 @@ func (h *AuthHandler) AuthLogin(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
if authUser.UserType == "CUSTOMER" {
|
||||
response.ErrorWrapper(c, errors.ErrorUserIsNotFound)
|
||||
return
|
||||
}
|
||||
|
||||
var partner *response.Partner
|
||||
var site *response.SiteName
|
||||
|
||||
|
||||
Reference in New Issue
Block a user