Commit 6583d77d authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Page de confirmation de changement de mot de passe : lien vers l'accueil ou...

Page de confirmation de changement de mot de passe : lien vers l'accueil ou vers la connexion selon qu'un utilisateur est connecté ou non.
parent 0c0a55bf
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -22,4 +22,12 @@
    </p>
<?php endif ?>

<p>
    <?php if ($this->identity()): ?>
        <a class="btn btn-primary" href="<?php echo $this->url('home') ?>">Revenir à l'accueil</a>
    <?php else: ?>
        <a class="btn btn-success" href="<?php echo $this->url('zfcuser/login', ['type' => 'local']) ?>">
            <?php echo $this->translate('Connectez-vous...') ?>
        </a>
    <?php endif ?>
</p>
 No newline at end of file