Skip to content

Commit 315a366

Browse files
committed
Merge branch 'develop' into 'master'
Preparing v1.2.1 See merge request psono/psono-admin-client!35
2 parents 2f2ae19 + aeda445 commit 315a366

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/views/User/Create.js

-10
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,6 @@ class User extends React.Component {
2626
createUserPossible: false
2727
};
2828

29-
componentDidMount() {
30-
const is_ee_server = this.props.state.server.type === 'EE';
31-
32-
if (!is_ee_server) {
33-
this.setState({
34-
redirect_to: '/dashboard'
35-
});
36-
}
37-
}
38-
3929
isCreateUserPossible(username, email, password1, password2) {
4030
const usernameValid =
4131
username.length > 2 && username.indexOf('@') !== -1;

0 commit comments

Comments
 (0)