mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 12:30:19 +08:00
Replace "register" with "sign up".
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user