From 0204bcced593e9e7b52bf47dcdeb8524795d1bca Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Tue, 4 Feb 2025 14:12:29 +0100 Subject: [PATCH] store/wizardSlice: default to 'register-later' when on-premise --- src/store/wizardSlice.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/store/wizardSlice.ts b/src/store/wizardSlice.ts index b8650a86..f020afc0 100644 --- a/src/store/wizardSlice.ts +++ b/src/store/wizardSlice.ts @@ -186,7 +186,9 @@ export const initialState: wizardState = { email: '', }, registration: { - registrationType: 'register-now-rhc', + registrationType: process.env.IS_ON_PREMISE + ? 'register-later' + : 'register-now-rhc', activationKey: undefined, }, compliance: {