Replace "register" with "sign up".

This commit is contained in:
Yang Luo
2021-04-27 22:47:44 +08:00
parent 3793029491
commit 7a0ed4ebaf
13 changed files with 33 additions and 33 deletions

View File

@ -16,7 +16,7 @@ package object
import "fmt"
func CheckUserRegister(userId string, password string) string {
func CheckUserSignup(userId string, password string) string {
if len(userId) == 0 || len(password) == 0 {
return "username and password cannot be blank"
} else if HasUser(userId) {