diff --git a/frontend/app/components/Login/Login.js b/frontend/app/components/Login/Login.js
index 53ae9e7a6..183704ae4 100644
--- a/frontend/app/components/Login/Login.js
+++ b/frontend/app/components/Login/Login.js
@@ -59,6 +59,7 @@ export default class Login extends React.Component {
render() {
const { errors, loading, authDetails } = this.props;
+
return (
diff --git a/frontend/app/duck/user.js b/frontend/app/duck/user.js
index 6f29ef945..13ff44af5 100644
--- a/frontend/app/duck/user.js
+++ b/frontend/app/duck/user.js
@@ -31,12 +31,7 @@ const initialState = Map({
passwordRequestError: false,
passwordErrors: List(),
tenants: [],
- authDetails: Map({
- tenants: false,
- sso: false,
- ssoProvider: '',
- edition: ''
- }),
+ authDetails: {},
onboarding: false
});
@@ -75,7 +70,7 @@ const reducer = (state = initialState, action = {}) => {
case FETCH_ACCOUNT.SUCCESS:
return state.set('account', Account(action.data)).set('passwordErrors', List());
case FETCH_TENANTS.SUCCESS:
- return state.set('authDetails', Map(action.data));
+ return state.set('authDetails', action.data);
// return state.set('tenants', action.data.map(i => ({ text: i.name, value: i.tenantId})));
case UPDATE_PASSWORD.FAILURE:
return state.set('passwordErrors', List(action.errors))