code: func (s *Session) Verify(ctx context.Context, code string) error {
  	if s.engine.session.Type() == apitypes.MachineSession {
  		return &apitypes.Error{
  			Type: apitypes.BadRequestError,
  			Err:  []string{"A machine cannot verify it's acccount!"},
  		}
  	}
  
  	err := s.engine.client.Users.VerifyEmail(ctx, code)
  	if err != nil {
  		return err
  	}
  
  	token := s.engine.session.Token()
  	self, err := s.engine.client.Self.Get(ctx, string(token))
  	if err != nil {
  		return err
  	}
  
  	err = s.engine.session.SetIdentity(self.Type, self.Identity, self.Auth)
  	if err != nil {
  		return err
  	}
  
  	return s.engine.session.SetIdentity(self.Type, self.Identity, self.Auth)
  }
docs: // Verify attempts to verify the users account using the