Allow to display mail resend confirmation screen (#1508)
This commit is contained in:
parent
075fc36c00
commit
b33bd5a99d
|
@ -278,7 +278,10 @@ sub _reset {
|
||||||
$self->userLogger->notice(
|
$self->userLogger->notice(
|
||||||
'Reset mail already sent to ' . $req->{user} );
|
'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;
|
return PE_MAILCONFIRMOK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -66,6 +66,10 @@
|
||||||
<input type="hidden" value="<TMPL_VAR NAME="MAIL">" name="mail">
|
<input type="hidden" value="<TMPL_VAR NAME="MAIL">" name="mail">
|
||||||
</TMPL_IF>
|
</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>
|
<h3 trspan="resendConfirmMail">Resend confirmation mail?</h3>
|
||||||
|
|
||||||
<p class="alert alert-info">
|
<p class="alert alert-info">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user