diff -r 2a861fed6bde -r 06f609adfbf8 client/src/components/Login.js
--- a/client/src/components/Login.js Mon Jun 26 16:05:47 2017 +0200
+++ b/client/src/components/Login.js Mon Jun 26 15:45:50 2017 +0200
@@ -15,6 +15,11 @@
this.props.authActions.loginSubmit(username, password);
}
+ onClickRegister = (e) => {
+ e.preventDefault();
+ this.props.history.push('/register');
+ }
+
renderError() {
return (