Remove stray log

This commit is contained in:
Shane Kilkelly 2018-09-24 11:56:39 +01:00
parent 70b56d0362
commit 778abaff6e

View file

@ -7,7 +7,6 @@ Settings = require 'settings-sharelatex'
module.exports = SudoModeMiddlewear =
protectPage: (req, res, next) ->
console.log ">>>>>> Settings", Settings.overleaf
if req.externalAuthenticationSystemUsed() and !Settings.overleaf?
logger.log {userId}, "[SudoMode] using external auth, skipping sudo-mode check"
return next()