summaryrefslogtreecommitdiff
path: root/app/client/auth/login.component.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-09-17 03:24:53 +0200
committerJules Laplace <julescarbon@gmail.com>2018-09-17 03:24:53 +0200
commit6eceaa562b5752ec884c15466241228db3955dc8 (patch)
tree87791a1821144388f966ae16235a639c528b2b30 /app/client/auth/login.component.js
parenta70df1505e8d4dfbb7540b6e3d5ffe5da2f9609c (diff)
ughhhhhhhg
Diffstat (limited to 'app/client/auth/login.component.js')
-rw-r--r--app/client/auth/login.component.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/client/auth/login.component.js b/app/client/auth/login.component.js
index 2ef01a6..723d68a 100644
--- a/app/client/auth/login.component.js
+++ b/app/client/auth/login.component.js
@@ -15,6 +15,7 @@ class Login extends Component {
}
constructor() {
super()
+ console.log('yooooooo')
this.handleChange = this.handleChange.bind(this)
this.handleSubmit = this.handleSubmit.bind(this)
}
@@ -30,6 +31,7 @@ class Login extends Component {
this.props.actions.login(this.state.username, this.state.password)
}
render(){
+ console.log('yooooooo')
if (this.props.auth.isAuthenticated) {
let { returnTo } = this.props.auth
if (!returnTo || returnTo.match(/(login|logout|signup)/i)) {