Skip to content

Commit 461ef8b

Browse files
committed
Some fixes
1 parent ad39c50 commit 461ef8b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

routers/private/serv.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func ServNoCommand(ctx *macaron.Context) {
6363
}
6464
if !user.IsActive {
6565
ctx.JSON(http.StatusForbidden, map[string]interface{}{
66-
"err": fmt.Sprintf("Your account is unactived."),
66+
"err": "Your account is disabled.",
6767
})
6868
return
6969
}

routers/repo/http.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ func HTTP(ctx *context.Context) {
245245
}
246246

247247
if !authUser.IsActive {
248-
ctx.HandleText(http.StatusForbidden, "Your account is unactived.")
248+
ctx.HandleText(http.StatusForbidden, "Your account is disabled.")
249249
return
250250
}
251251

0 commit comments

Comments
 (0)