mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Only redirect if has overleaf setting
This commit is contained in:
parent
8a969d1c25
commit
f37040e4a4
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ module.exports = TokenAccessController =
|
||||||
logger.err {err, token, userId},
|
logger.err {err, token, userId},
|
||||||
"[TokenAccess] error finding project with higher access"
|
"[TokenAccess] error finding project with higher access"
|
||||||
return next(err)
|
return next(err)
|
||||||
if !projectExists
|
if !projectExists and settings.overleaf
|
||||||
logger.log {token, userId},
|
logger.log {token, userId},
|
||||||
"[TokenAccess] no project found for this token"
|
"[TokenAccess] no project found for this token"
|
||||||
# Project does not exist, but may be unimported - try it on v1
|
# Project does not exist, but may be unimported - try it on v1
|
||||||
|
|
Loading…
Reference in a new issue