Skip to content
Snippets Groups Projects
Unverified Commit 40b948a1 authored by Renaud Chaput's avatar Renaud Chaput Committed by GitHub
Browse files

Fix `null` signUp URL handling from #25014 (#25108)

parent 7336f364
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ const Account = connect(state => ({
));
const mapStateToProps = (state) => ({
signupUrl: state.getIn(['server', 'server', 'registrations', 'url'], '/auth/sign_up'),
signupUrl: state.getIn(['server', 'server', 'registrations', 'url'], null) || '/auth/sign_up',
});
const mapDispatchToProps = (dispatch) => ({
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment