mirror of
https://github.com/overleaf/overleaf.git
synced 2024-09-16 02:52:31 -04: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},
|
||||
"[TokenAccess] error finding project with higher access"
|
||||
return next(err)
|
||||
if !projectExists
|
||||
if !projectExists and settings.overleaf
|
||||
logger.log {token, userId},
|
||||
"[TokenAccess] no project found for this token"
|
||||
# Project does not exist, but may be unimported - try it on v1
|
||||
|
|
Loading…
Reference in a new issue