Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change formulations page accueil #23

Merged
merged 1 commit into from
Jun 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/vues/accueil.pug
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ block styles
block page
if avecConnexionFCPlus
if infosUtilisateur
p Utilisateur courant : #{infosUtilisateur.afficheToi()}
p Félicitations #{infosUtilisateur.afficheToi()}, vous avez réussi à vous authentifier avec eIDAS !
a(href = '/auth/fcplus/destructionSession') Déconnexion
else
p Pas d'utilisateur courant
h1 Choisissez votre cas d'usage
div
p.
FranceConnect+ est la solution proposée par l'État pour renforcer la
Expand Down
4 changes: 2 additions & 2 deletions test/routes/routesBase.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe('Le serveur des routes `/`', () => {
axios.get(`http://localhost:${port}/`)
.then((reponse) => {
expect(reponse.status).toBe(200);
expect(reponse.data).toContain("Pas d'utilisateur courant");
expect(reponse.data).toContain("Choisissez votre cas d'usage");
})
.catch(leveErreur)));

Expand All @@ -35,7 +35,7 @@ describe('Le serveur des routes `/`', () => {
return axios.get(`http://localhost:${port}/`)
.then((reponse) => {
expect(reponse.status).toBe(200);
expect(reponse.data).toContain('Utilisateur courant : Sandra Nicouette');
expect(reponse.data).toContain('Sandra Nicouette');
})
.catch(leveErreur);
});
Expand Down
Loading