Neos.Demo icon indicating copy to clipboard operation
Neos.Demo copied to clipboard

Redirect from registration to directly login

Open Sebobo opened this issue 3 years ago • 3 comments

We should be able to directly login after registering the user successfully via the frontend form.

We have to provide the fields to the Neos\Neos\LoginController->authenticate action as

__authentication[Neos][Flow][Security][Authentication][Token][UsernamePassword][username]

and

__authentication[Neos][Flow][Security][Authentication][Token][UsernamePassword][password]

No csrftoken is needed.

Sebobo avatar Jul 28 '22 06:07 Sebobo

@regniets I think we might need a custom RedirectAction for this.

Sebobo avatar Jul 28 '22 06:07 Sebobo

If we touch this feature, i would opt for adapting the Login-Form on demo.neos.io/neos - so that the user can just enter username/password and then is logged in. New issue?

regniets avatar Jul 28 '22 07:07 regniets

Sorry not sure what you mean?

Sebobo avatar Jul 28 '22 08:07 Sebobo