1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

fix: column definition in migration

This commit is contained in:
Ferdinand Mütsch
2020-08-30 01:24:27 +02:00
parent 82ed386359
commit 50b7a9ec3d
3 changed files with 5 additions and 5 deletions

View File

@ -37,7 +37,7 @@ func (s *Signup) IsValid() bool {
}
func validateUsername(username string) bool {
return len(username) >= 3
return len(username) >= 3 && username != "current"
}
func validatePassword(password string) bool {