1.5.3 Further settings
Regardless of the selected authentication type, the registration of new accounts or the reset password can be deactivated. The following switch is used for this purpose:
<user>
<registration enabled="true" />
</user>
A security question is asked when registering new local user accounts. There is a section <securityQuestions />
Each <question />
contains the attribute key=""
in which a message key is defined. In this way, the questions can always be displayed in the correct language. Per question there is a list of allowed answers (<allowedAnswer />
). This way even answers from different languages can be displayed correctly.
<user>
<securityQuestions>
<question key="user__security_question__1">
<allowedAnswer>blau</allowedAnswer>
<allowedAnswer>blue</allowedAnswer>
</question>
<question key="user__security_question__2">
<allowedAnswer>6</allowedAnswer>
<allowedAnswer>sechs</allowedAnswer>
<allowedAnswer>six</allowedAnswer>
</question>
<question key="user__security_question__3">
<allowedAnswer>b</allowedAnswer>
<allowedAnswer>t</allowedAnswer>
</question>
</securityQuestions>
</user>
Last updated
Was this helpful?