diff --git a/app/soapbox/actions/auth.js b/app/soapbox/actions/auth.js index edce3a29a..2ff3ea1e1 100644 --- a/app/soapbox/actions/auth.js +++ b/app/soapbox/actions/auth.js @@ -114,7 +114,7 @@ export function refreshUserToken() { export function logIn(username, password) { return (dispatch, getState) => { - return dispatch(initAuthApp()).then(() => { + return dispatch(createAppAndToken()).then(() => { return dispatch(createUserToken(username, password)); }).catch(error => { dispatch(showAlert('Login failed.', 'Invalid username or password.'));