Update app.js
changed URL to `reauth` from `logout` as it's not quite performing a `logout` function.
This commit is contained in:
parent
771800b02a
commit
21f2c4ef9f
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ app.disable('x-powered-by')
|
||||||
// static files
|
// static files
|
||||||
app.use(express.static(publicPath, expressOptions))
|
app.use(express.static(publicPath, expressOptions))
|
||||||
|
|
||||||
app.get('/logout', function (req, res, next) {
|
app.get('/reauth', function (req, res, next) {
|
||||||
var r = req.headers.referer || '/';
|
var r = req.headers.referer || '/';
|
||||||
res.status(401).send(
|
res.status(401).send(
|
||||||
'<html>' +
|
'<html>' +
|
||||||
|
|
Loading…
Reference in a new issue