remove test routes

This commit is contained in:
2023-10-11 13:33:13 +02:00
parent 1633cedec2
commit 62c2d57606
3 changed files with 11 additions and 11 deletions

View File

@@ -45,11 +45,11 @@ module.exports = ( app, settings ) => {
}
} );
app.get( '/test/user', ( req, res ) => {
req.session.loggedInUser = true;
req.session.username = 'info@janishutz.com';
res.send( 'ok' );
} );
// app.get( '/test/user', ( req, res ) => {
// req.session.loggedInUser = true;
// req.session.username = 'info@janishutz.com';
// res.send( 'ok' );
// } );
app.post( '/user/login', bodyParser.json(), ( request, response ) => {
if ( request.body.mail && request.body.password ) {