mongodb
This commit is contained in:
parent
73d0f9dbc7
commit
6b7081c481
1 changed files with 1 additions and 11 deletions
|
@ -7,18 +7,8 @@ const db = require('../data/database');
|
|||
const router = express.Router();
|
||||
|
||||
router.get('/creer-compte', function (req, res) {
|
||||
let sessionInputData = {
|
||||
hasError: false,
|
||||
nom: '',
|
||||
prenom: '',
|
||||
nom_dutilisateur: '',
|
||||
email: '',
|
||||
confirmEmail: '',
|
||||
password: '',
|
||||
confirmPassword: ''
|
||||
};
|
||||
req.session.input = null;
|
||||
res.render('creer_compte', {inputData: sessionInputData});
|
||||
res.render('creer_compte');
|
||||
});
|
||||
|
||||
router.post('/creer-compte', async function (req, res) {
|
||||
|
|
Loading…
Reference in a new issue