fix
This commit is contained in:
parent
56e38355d3
commit
57d95e0ebe
|
@ -196,14 +196,13 @@ func (u *FsUserModel) RegisterByFusen(ctx context.Context, token *auth.RegisterT
|
|||
if err == gorm.ErrRecordNotFound {
|
||||
return nil
|
||||
}
|
||||
|
||||
return err
|
||||
|
||||
}
|
||||
|
||||
return fmt.Errorf("the email had registered")
|
||||
})
|
||||
|
||||
logcontent += "end"
|
||||
if err != nil && err != gorm.ErrRecordNotFound {
|
||||
return nil, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user