mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Allow user to force themselves to be part of autocompile rollout
This commit is contained in:
parent
f001c6745e
commit
b889a8bb4d
1 changed files with 4 additions and 0 deletions
|
@ -270,6 +270,10 @@ module.exports = ProjectController =
|
||||||
CollaboratorsHandler.userIsTokenMember user_id, project_id, cb
|
CollaboratorsHandler.userIsTokenMember user_id, project_id, cb
|
||||||
showAutoCompileOnboarding: (cb) ->
|
showAutoCompileOnboarding: (cb) ->
|
||||||
cb = underscore.once(cb)
|
cb = underscore.once(cb)
|
||||||
|
# Force autocompile rollout if query param set
|
||||||
|
if req.query.ac == 't'
|
||||||
|
return cb(null, { enabled: true, showOnboarding: true })
|
||||||
|
|
||||||
if !user_id?
|
if !user_id?
|
||||||
return cb()
|
return cb()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue