Skip to content

Commit

Permalink
Fix for felogin on v12.4.21
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszuznanski committed Oct 8, 2024
1 parent f77d15f commit 36d17f3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions Classes/ViewHelpers/LoginFormViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -205,13 +205,12 @@ protected function addFieldNamePrefixToViewHelperVariableContainer(): void
/**
* Renders a hidden form field containing the technical identity of the given object.
*
* @param object $object Object to create the identity field for
* @param string $name Name
*
* @return string A hidden field containing the Identity (UID in TYPO3 Flow, uid in Extbase) of the given object or NULL if the object is unknown to the persistence framework
* @param mixed $object Object to create the identity field for. Non-objects are ignored.
* @param string|null $name Name
* @return string A hidden field containing the Identity (uid) of the given object
* @see \TYPO3\CMS\Extbase\Mvc\Controller\Argument::setValue()
*/
protected function renderHiddenIdentityField(?object $object, ?string $name): string
protected function renderHiddenIdentityField(mixed $object, ?string $name): string
{
if ($object instanceof LazyLoadingProxy) {
$object = $object->_loadRealInstance();
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"typo3/coding-standards": "^0.8"
},
"conflict": {
"typo3/cms-core": "<12.4.3"
"typo3/cms-core": "<12.4.20"
},
"config": {
"preferred-install": {
Expand Down

0 comments on commit 36d17f3

Please sign in to comment.