mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-09 13:02:56 +08:00
fix: improve code specification (#231)
This commit is contained in:
@@ -24,7 +24,7 @@ import (
|
||||
var reWhiteSpace *regexp.Regexp
|
||||
|
||||
func init() {
|
||||
reWhiteSpace, _ = regexp.Compile("\\s")
|
||||
reWhiteSpace, _ = regexp.Compile(`\s`)
|
||||
}
|
||||
|
||||
func CheckUserSignup(application *Application, organization *Organization, username string, password string, displayName string, email string, phone string, affiliation string) string {
|
||||
|
Reference in New Issue
Block a user