summaryrefslogtreecommitdiff
path: root/app/client/auth/login.component.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-09-17 12:40:40 +0200
committerJules Laplace <julescarbon@gmail.com>2018-09-17 12:40:40 +0200
commit15e5df27774fef8d976c74b6ec7bcf8f878e5834 (patch)
treeb9d0110849789382bf9f255fcadf4587e338d2f1 /app/client/auth/login.component.js
parent439888003a41279a0fe5a74ac5b92898cabd827b (diff)
log in / log out
Diffstat (limited to 'app/client/auth/login.component.js')
-rw-r--r--app/client/auth/login.component.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/app/client/auth/login.component.js b/app/client/auth/login.component.js
index 723d68a..2ef01a6 100644
--- a/app/client/auth/login.component.js
+++ b/app/client/auth/login.component.js
@@ -15,7 +15,6 @@ class Login extends Component {
}
constructor() {
super()
- console.log('yooooooo')
this.handleChange = this.handleChange.bind(this)
this.handleSubmit = this.handleSubmit.bind(this)
}
@@ -31,7 +30,6 @@ 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)) {