osCommerce France : Accueil Forum Portail osCommerce France Réponses aux questions Foire aux contributions

Bienvenue invité ( Connexion | Inscription )

 
Reply to this topicStart new topic
> Phoenix erreur retour client, mot passe faux n'offre pas d'en obtenir un nouveau
chti_poupon
posté 29 Apr 2020, 16:43
Message #1


Ceinture noire OSC
Icône de groupe

Groupe : TechDev
Messages : 2757
Inscrit : 9-September 08
Lieu : Douai
Membre no 22915



De fait, aucune proposition de "Password oublié" ne s'affiche à l'inscription client ancien.
J'ai ajouté ce code (repiqué de catalog/password_forgotten.php
Code
<?php echo tep_draw_form('password_forgotten', tep_href_link('password_forgotten.php', 'action=process', 'SSL'), 'post', '', true); ?>

<div class="contentContainer">
  <div class="alert alert-warning" role="alert"><?php echo TEXT_MAIN; ?></div>
  
  <?php
  $customer_data->display_input(['email_address']);
  ?>
  
  <div class="buttonSet">
    <div class="text-right"><?php echo tep_draw_button(IMAGE_BUTTON_RESET_PASSWORD, 'fas fa-user-cog', null, 'primary', null, 'btn-warning btn-lg btn-block'); ?></div>
    <p><?php echo tep_draw_button(IMAGE_BUTTON_BACK, 'fas fa-angle-left', tep_href_link('login.php', '', 'SSL')); ?></p>
  </div>

</div>

</form>

<?php
  }

après la ligne 43 de catalog/login.php:
Code
    tep_redirect($_SESSION['navigation']->pop_snapshot_as_link());
  } else {  // else... début ajout JD


Est-ce un oubli, ou un autre fonctionnement est prévu ?

Chti poupon
OSCOM CE Phoenix v1.0.5.8
Go to the top of the page
 

Reply to this topicStart new topic
1 utilisateur(s) sur ce sujet (1 invité(s) et 0 utilisateur(s) anonyme(s))
0 membre(s) :

 



RSS Version bas débit Nous sommes le : 16th April 2024 - 12:06
Ce site est déclaré auprès de la commision Nationale
de l'Informatique et des Libertés (déclaration n°: 1043896)