Registration and login

Hi!

I’m trying to authenticate an account after it has been created, so the user doesn’t need to log in again, but I can’t seem to find out how to do it. I’m using normal username/password authentication. Does someone has an example?

my thoughts:

$arguments['__authentication']['TYPO3']['Flow']['Security']['Authentication']['Token']['UsernamePassword']['password'] = 'meinpass';
     $arguments['__authentication']['TYPO3']['Flow']['Security']['Auth entication']['Token']['UsernamePassword']['username'] = 'meinusername';
    $username = \TYPO3\Flow\Reflection\ObjectAccess::getPropertyPath($arguments, '__authentication.TYPO3.Flow.Security.Authentication.Token.UsernamePassword.username');
    $password = \TYPO3\Flow\Reflection\ObjectAccess::getPropertyPath($arguments, '__authentication.TYPO3.Flow.Security.Authentication.Token.UsernamePassword.password');

https://wiki.typo3.org/Flow_Cookbook#Authenticate_an_account_immediately_after_creation

Take a look there, it should give you a good description of what to do

Thank you. This has helped me!