diff --git a/app/gabsocial/features/auth_login/index.js b/app/gabsocial/features/auth_login/index.js
index ace46472f..1fda6d890 100644
--- a/app/gabsocial/features/auth_login/index.js
+++ b/app/gabsocial/features/auth_login/index.js
@@ -2,6 +2,11 @@ import React from 'react';
import { connect } from 'react-redux'
import ImmutablePureComponent from 'react-immutable-pure-component';
import { createApp, logIn } from 'gabsocial/actions/auth';
+import { Redirect } from 'react-router-dom';
+
+const mapStateToProps = (state, props) => ({
+ me: state.get('me'),
+});
class LoginForm extends ImmutablePureComponent {
@@ -22,6 +27,10 @@ class LoginForm extends ImmutablePureComponent {
}
render() {
+ const { me } = this.props;
+
+ if (me) return