diff --git a/app.js b/app.js index 05ed23e..78f1c7a 100644 --- a/app.js +++ b/app.js @@ -315,6 +315,12 @@ app.post("/auth/check-session", (req, res) => { }) +// ******************************************* Connexion sur le compte utilisateur (mode sécurisé) ******************************************* +app.get("/auth/create-session", (req, res) => { + +}); + + app.listen(5005, ()=> { console.log("server started on port 5005") }) \ No newline at end of file diff --git a/views/create-session.hbs b/views/create-session.hbs new file mode 100644 index 0000000..51b8416 --- /dev/null +++ b/views/create-session.hbs @@ -0,0 +1,69 @@ + + + + + + + + + +{{!-- Navigation links --}} + + +
+
+
Création d'une nouvelle session
+
+
+
+ + +   + + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ + +
+
+ Déjà inscrit ? Cliquez ici pour vous connecter. +
+ + {{#if error }} +

{{error}}

+ {{/if}} + +
+ + + \ No newline at end of file diff --git a/views/login-session.hbs b/views/login-session.hbs index 602e13a..0edb766 100644 --- a/views/login-session.hbs +++ b/views/login-session.hbs @@ -41,8 +41,10 @@ - -
+ + Besoin d'une nouvelle session ? Cliquez ici pour en créer une. +
+