Skip to content
Snippets Groups Projects
Commit de8b46f4 authored by Ophestra's avatar Ophestra
Browse files

fix typo

parent 85879c94
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ func registerAPI() { ...@@ -35,7 +35,7 @@ func registerAPI() {
user, ok := getUser(context) user, ok := getUser(context)
if !instance.Register { if !instance.Register {
if !ok { if !ok {
context.JSON(http.StatusForbidden, api.Error{Error: "user registration daisallowed"}) context.JSON(http.StatusForbidden, api.Error{Error: "user registration disallowed"})
return return
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment