func (obj *csrfService) Reset() error {
	_, err := db.Delete(models.CSRFName).Executor().Exec()
	if err != nil {
		return errors.New(errors.UnexpectedStatus, errors.Report, g.Trans().TranslateEN("ResetCSRFFailed"))
	}

	return nil
}
// Reset resets the storage and delete all keys.
Reset resets the storage and delete all keys.
// Reset resets the storage and delete all keys .
func (obj *csrfService) Reset() error {
	_, err := db.Delete(models.CSRFName).Executor().Exec()
	if err != nil {
		return errors.New(errors.UnexpectedStatus, errors.Report, g.Trans().TranslateEN("ResetCSRFFailed"))
	}
	return nil
}
func ( obj * csrfService ) Reset ( ) error { _ , err := db . Delete ( models . CSRFName ) . Executor ( ) . Exec ( ) if err != nil { return errors . New ( errors . UnexpectedStatus , errors . Report , g . Trans ( ) . TranslateEN ( " " ) ) } return nil }
Reset resets the storage and delete all keys.
Reset resets the storage and delete all keys .