updated dependencies
This commit is contained in:
parent
0265d820fe
commit
320dc096dd
492 changed files with 84123 additions and 43947 deletions
|
|
@ -66,7 +66,6 @@ func (db *DB) CreateUser(username, password string, admin bool) error {
|
|||
username = userRe.ReplaceAllString(username, "")
|
||||
if _, ok := core.Contains(username, reservedNames); ok {
|
||||
return fmt.Errorf("%s: %s", errNameReserved, username)
|
||||
|
||||
}
|
||||
if err := db.UserExists(username); err == nil {
|
||||
return errUserExists
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue