Skip to content

Commit

Permalink
Fixed bug with wrong error
Browse files Browse the repository at this point in the history
  • Loading branch information
JevgenijVisockij committed May 31, 2023
1 parent f32ea6d commit ed8990a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ private function validate(array $data): void
}

if ($frontOfficeLifeTimeCookie > CookieOptions::MAX_COOKIE_VALUE) {
$errors->add(new AdministrationConfigurationError(FormDataProvider::ERROR_COOKIE_LIFETIME_MAX_VALUE_EXCEEDED, GeneralType::FIELD_FRONT_COOKIE_LIFETIME));
$errors->add(new AdministrationConfigurationError(AdministrationConfigurationError::ERROR_COOKIE_LIFETIME_MAX_VALUE_EXCEEDED, GeneralType::FIELD_FRONT_COOKIE_LIFETIME));
}
}

Expand Down

0 comments on commit ed8990a

Please sign in to comment.