a
This commit is contained in:
parent
90b9df592d
commit
581e9ed322
|
|
@ -24,9 +24,8 @@ class ControleurHtagcarte extends Controleur {
|
|||
|
||||
public function revoquercarte()
|
||||
{
|
||||
$login = $_SESSION['login'];
|
||||
$otpValueSaisi = $this->requete->getParametre("otpValue");
|
||||
$otpValueRequis = $this->utilisateur->get_otp_value($login);
|
||||
$idHtagcarte = $this->requete->getParametre("idHtagcarte");
|
||||
$motifRevocation = $this->requete->getParametreFormulaire("motifRevocation");
|
||||
|
||||
// if ( ($otpValueSaisi==$otpValueRequis) && (strlen($otpValueSaisi)=='6') )
|
||||
if ( (password_verify($otpValueSaisi, $otpValueRequis)) && (strlen($otpValueSaisi)=='6') )
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ motifRevocation
|
|||
<tr>
|
||||
<td> <?= _("Motif Révocation");?></td>
|
||||
<td >
|
||||
<INPUT class="form-control" name="motifRevocation" id="motifRevocation" ></textarea>
|
||||
<INPUT class="form-control" name="motifRevocation" id="motifRevocation" required AUTOCOMPLETE="OFF" autofocus >
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user