Fix bug with table presetting and add table couter and fix the join table
This commit is contained in:
@@ -64,6 +64,7 @@ func FindOrCreateUserFromEmail(email string) *User {
|
||||
u = User{
|
||||
Email: email,
|
||||
Username: utils.DefaultUsername(),
|
||||
Elo: 1500,
|
||||
}
|
||||
if err := EnsureUniqueUsernameAndSlug(&u); err != nil {
|
||||
log.Println("Ensure unique:", err)
|
||||
|
||||
Reference in New Issue
Block a user