Released to GA the theme parameter in the /authentication/setup route

refs daeb06e835

- This is an additive change, and the parameter is optional so it's better to ship it right away (testing was hard as it's a chicken and an egg problem to have a feature flag in the setup route).
This commit is contained in:
Thibaut Patel 2022-02-10 12:21:28 +01:00
parent c308d00235
commit 26c6238c3b
2 changed files with 1 additions and 7 deletions

View File

@ -56,10 +56,7 @@ module.exports = {
}
})
.then((data) => {
if (labs.isSet('improvedOnboarding')) {
return auth.setup.installTheme(data, api);
}
return data;
return auth.setup.installTheme(data, api);
})
.then((data) => {
return auth.setup.doSettings(data, api.settings);

View File

@ -33,9 +33,6 @@ describe('Authentication API', function () {
});
it('complete setup', async function () {
// Enable the improvedOnboarding flag
mockManager.mockLabsEnabled('improvedOnboarding');
await agent
.post('authentication/setup')
.body({