Skip to content

Commit eee7403

Browse files
committed
Merge branch 'master' of github.com:Tp0t-Team/Tp0tOJ
2 parents 748c3aa + b0e58f5 commit eee7403

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/src/constValue.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ const constValue = {
44
stateType: ["normal", "disabled"],
55
flagType: ["Single", "Multiple", "Regexp", "Dynamic"],
66
eventType: [
7-
"Stop competition",
8-
"Start competition",
7+
"Stop game",
8+
"Start game",
99
"Allow registration",
1010
"Deny registration"
1111
],

server/services/user/mutation.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func (r *MutationResolver) Register(ctx context.Context, args struct{ Input type
8787
return &types.RegisterResult{Message: "already login cannot register"}
8888
}
8989
if !resolvers.IsRegistryAllow(nil) {
90-
return &types.RegisterResult{Message: "no new user registration allowed"}
90+
return &types.RegisterResult{Message: "registration not allowed now"}
9191
}
9292
if !input.CheckPass() {
9393
return &types.RegisterResult{Message: "invalid information"}

0 commit comments

Comments
 (0)