mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-31 12:51:35 +02:00
Merge pull request #12901 from overleaf/msm-oauth-token-flags
[web] Feature flags for Personal Access Tokens GitOrigin-RevId: cb359b7c41d8875ebae7d78a8839528bc4adc04c
This commit is contained in:
@@ -1317,6 +1317,10 @@ const ProjectController = {
|
||||
onboardingVideoTourAssignment.variant === 'active' &&
|
||||
req.session.justRegistered
|
||||
|
||||
const showPersonalAccessToken =
|
||||
!Features.hasFeature('saas') ||
|
||||
req.query?.personal_access_token === 'true'
|
||||
|
||||
const template =
|
||||
detachRole === 'detached'
|
||||
? 'project/editor_detached'
|
||||
@@ -1407,6 +1411,7 @@ const ProjectController = {
|
||||
richTextVariant: richTextAssignment.variant,
|
||||
showOnboardingVideoTour,
|
||||
historyViewReact: historyViewAssignment.variant === 'react',
|
||||
showPersonalAccessToken,
|
||||
})
|
||||
timer.done()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user