diff --git a/services/user_service.go b/services/user_service.go index 778d4d9..b588859 100644 --- a/services/user_service.go +++ b/services/user_service.go @@ -167,9 +167,6 @@ func (service Service) LoginInternal(ctx context.Context, email string, password if err := query.QueryContext(ctx, db, &verify_user); err != nil { return gmodel.Auth{}, fmt.Errorf("incorrect email or password") } - if !verify_user.Active { - return gmodel.Auth{}, fmt.Errorf("please verify your email") - } if verify_user.Password == nil { return gmodel.Auth{}, fmt.Errorf("password has not been set for this account. try a different authentication method") }