Skip to content

Commit

Permalink
AUTH-30 execute on expected form_action
Browse files Browse the repository at this point in the history
  • Loading branch information
juliankahl committed Jul 9, 2021
1 parent 676a87e commit 9aa1d96
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion application-home/conf/ev-form-auth.xml
Expand Up @@ -15,7 +15,7 @@
<param name="form_action" />
</params>
</config>
<condition expression="${form_action eq 'loginUser'}" />
<condition expression="${form_action eq 'loginUser' or form_action eq 'login'}" />
<datasource id="loginDataMandatory" />
<bean id="loginUser" />
</action>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/xml/LoginUserTest-testLoginNoData.xml
Expand Up @@ -36,7 +36,7 @@
</field>
</meta-data>
</config>
<condition expression="${form_action eq 'loginUser'}" />
<condition expression="${form_action eq 'loginUser' or form_action eq 'login'}" />
<datasource id="loginDataMandatory" />
<userdata />
<data>
Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/xml/LoginUserTest-testLoginOK.xml
Expand Up @@ -30,7 +30,7 @@
</field>
</meta-data>
</config>
<condition expression="${form_action eq 'loginUser'}" />
<condition expression="${form_action eq 'loginUser' or form_action eq 'login'}" />
<messages>
<message ref="login" class="OK">Anmeldung erfolgreich</message>
</messages>
Expand Down
Expand Up @@ -30,7 +30,7 @@
</field>
</meta-data>
</config>
<condition expression="${form_action eq 'loginUser'}" />
<condition expression="${form_action eq 'loginUser' or form_action eq 'login'}" />
<datasource id="loginDataMandatory" />
<userdata />
<data>
Expand Down

0 comments on commit 9aa1d96

Please sign in to comment.