Commit b33bd5a9 authored by Clément OUDOT's avatar Clément OUDOT

Allow to display mail resend confirmation screen (#1508)

parent 075fc36c
......@@ -278,7 +278,10 @@ sub _reset {
$self->userLogger->notice(
'Reset mail already sent to ' . $req->{user} );
# To avoid enumeration, return OK
# Return mail already sent only if it is allowed at previous step
if ( $self->conf->{portalErrorOnMailNotFound} ) {
return PE_MAILCONFIRMATION_ALREADY_SENT;
}
return PE_MAILCONFIRMOK;
}
......
......@@ -66,6 +66,10 @@
<input type="hidden" value="<TMPL_VAR NAME="MAIL">" name="mail">
</TMPL_IF>
<TMPL_IF NAME="TOKEN">
<input type="hidden" name="token" value="<TMPL_VAR NAME="TOKEN">" />
</TMPL_IF>
<h3 trspan="resendConfirmMail">Resend confirmation mail?</h3>
<p class="alert alert-info">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment