-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #44 from MarcoPNS/master
TASK: Add Neos 5.x Compatibility
- Loading branch information
Showing
4 changed files
with
31 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,19 +17,19 @@ | |
<fieldset> | ||
<label> | ||
E-Mail-Adresse | ||
<f:form.textfield property="email" placeholder="[email protected]" name="__authentication[Neos][Flow][Security][Authentication][Token][UsernamePassword][username]" type="email"/> | ||
<f:form.textfield property="email" placeholder="[email protected]" name="__authentication[Neos][Flow][Security][Authentication][Token][UsernamePassword][username]" type="email" required="true"/> | ||
<f:render partial="FormErrors" section="ValidationResults" arguments="{for: 'registrationFlow.email'}"/> | ||
</label> | ||
|
||
<label> | ||
Passwort | ||
<f:form.password placeholder="Ihr Passwort" property="passwordDto.password"/> | ||
<f:form.password placeholder="Ihr Passwort" property="passwordDto.password" required="true"/> | ||
<f:render partial="FormErrors" section="ValidationResults" arguments="{for: 'registrationFlow.passwordDto.password'}"/> | ||
</label> | ||
|
||
<label> | ||
Passwortbestätigung | ||
<f:form.password placeholder="Passwort wiederholen" property="passwordDto.passwordConfirmation"/> | ||
<f:form.password placeholder="Passwort wiederholen" property="passwordDto.passwordConfirmation" required="true"/> | ||
</label> | ||
|
||
<label> | ||
|
@@ -40,7 +40,7 @@ | |
|
||
<label> | ||
Vorname | ||
<f:form.textfield placeholder="Manfred" property="attributes.firstName"/> | ||
<f:form.textfield placeholder="Manfred" property="attributes.firstName" required="true"/> | ||
<f:render partial="FormErrors" section="ValidationResults" arguments="{for: 'registrationFlow.attributes.firstName'}"/> | ||
</label> | ||
|
||
|
b2b03da
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using a basic Flow distribution (6.x), redirection in the LoginController still fails on Line 167:
$this->redirectToUri($this->uriFactory->createUri((string)$escapedUri));
As there is the excapedUri available, use instead:
$this->redirectToUri($escapedUri);
Tested with Flow 6.0.5.