use custom user endpoint for validation and JWT auth for login

This commit is contained in:
GotPPay
2018-08-28 14:35:37 +02:00
committed by Bilal Catic
parent 9da31990fd
commit bc61e2e706
3 changed files with 121 additions and 180 deletions

View File

@@ -55,7 +55,7 @@ class LogInForm extends Component {
componentDidMount() {
if (localStorage.accessToken) {
this.props.dispatch(validateAccessToken(localStorage.accessToken));
this.props.dispatch(validateAccessToken());
}
}