|
|
@@ -562,7 +562,7 @@ func UpdateUser(c *gin.Context) { |
|
|
common.ApiError(c, err) |
|
|
common.ApiError(c, err) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if originUser.IsSyncedUser() && originUser.Quota != updatedUser.Quota { |
|
|
|
|
|
|
|
|
if originUser.IsSyncedUser() && originUser.SyncedQuota != updatedUser.Quota { |
|
|
common.ApiErrorI18n(c, i18n.MsgSyncedUserQuotaCannotModify) |
|
|
common.ApiErrorI18n(c, i18n.MsgSyncedUserQuotaCannotModify) |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|