aboutsummaryrefslogtreecommitdiffstats
path: root/admportal/server/router/routes/root.js
diff options
context:
space:
mode:
Diffstat (limited to 'admportal/server/router/routes/root.js')
-rw-r--r--admportal/server/router/routes/root.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/admportal/server/router/routes/root.js b/admportal/server/router/routes/root.js
index f586892b..b314d7db 100644
--- a/admportal/server/router/routes/root.js
+++ b/admportal/server/router/routes/root.js
@@ -5,7 +5,7 @@ var dbRoutes = require('./dbRoutes.js');
var sla = require('./sla');
var os = require('os');
var async = require('async');
-var Odl = require('./Odl');
+var OdlInterface = require('./OdlInterface');
var properties = require(process.env.SDNC_CONFIG_DIR + '/admportal.json');
@@ -67,7 +67,7 @@ router.get('/test', function(req,res){
});
function createFunctionObj( loptions ) {
- return function(callback) { Odl.Healthcheck(loptions,callback); };
+ return function(callback) { OdlInterface.Healthcheck(loptions,callback); };
}
router.get('/mytree', function(req,res) {
@@ -76,13 +76,13 @@ router.get('/mytree', function(req,res) {
router.get('/setuplogin', function(req,res) {
res.render('pages/setuplogin');
});
-router.post('/formSetupLogin', dbRoutes.checkDB, function(req,res) {
+router.post('/formSetupLogin', function(req,res) {
dbRoutes.saveSetupLogin(req,res);
});
-router.post('/formSignUp', dbRoutes.checkDB, function(req,res) {
+router.post('/formSignUp', function(req,res) {
dbRoutes.saveUser(req,res);
});
-router.post('/formlogin', csp.login, dbRoutes.checkDB, function(req,res) {
+router.post('/formlogin', csp.login, function(req,res) {
});
router.get('/login', function(req,res) {
res.render('pages/login');