Merge pull request #16 from Pear-Trading/TBSliver/Login-Fix

Fix issue with login error
This commit is contained in:
Tom Bloor 2017-07-21 18:43:24 +01:00 committed by GitHub
commit f01346b667

View file

@ -85,7 +85,7 @@ sub post_login {
session_key => $session_key,
});
}
} else {
}
return $c->render(
json => {
success => Mojo::JSON->false,
@ -93,7 +93,6 @@ sub post_login {
},
status => 401
);
}
}
sub post_logout {