Tweak environment detection recommendation

Signed-off-by: Alex Crome <afscrome@users.noreply.github.com>
This commit is contained in:
Alex Crome
2023-05-14 12:32:23 +01:00
parent 627fe70396
commit 0d32059381
+2 -1
View File
@@ -80,7 +80,8 @@ const app = createApp({
/* highlight-add-start */
components: {
SignInPage: props => {
if (process.env.NODE_ENV === 'development') {
const configApi = useApi(configApiRef);
if (configApi.getString('auth.environment') === 'development')
return <ProxiedSignInPage {...props} provider="azure-easyauth" />;
}
return (