Skip to content

Exception on mail validation link fails #3

@AndreasA

Description

@AndreasA

If the mail validation fails, there is an exception because in validateUser in the else branch of the instanceof if,
this is called $this->handleBehaviorResponse($this->doBehaviors($frontendUser, 'emailValidationFailure', $forward), $frontendUser);

However, handleBehaviorResponse expects $frontendUser to be of a correct type and therefore an exception is thrown.
Best would be to create a frontendUser before calling handleBehaviorResponse.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions