checkCode() for AUTH Code does not work on localized pages
Using TYPO3 CMS 7.6 and latest keQuestionaire:
The check of of an authcode on a localized survey (syslanguage uid = 1 ) does not work .
using the default Extbase function will add contraints for respect pid and Syslanguage, both are not set when i just create and do not mail the Auth Code to a user.
reason ist this line
$codes = $this->authCodeRepository->findByAuthCode($this->request->getArgument('code'));
in the Result Controller.
if you use the findByAuthCodeForPid() from the ke questionaire repository and add pid = 0 it works.
$codes = $this->authCodeRepository->findByAuthCodeForPid($this->request->getArgument('code') , 0 );
additionally the result is espected as Array:
$codes0 to $codes->getfirst() 2 times fixes also this ..