We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm using devise_token_auth with ng-token-auth and my user registration is working perfectly: The sign_out works perfectly:
I try to login with the same email and password and it always returns 401:
Here is my registrations controller (which works great):
angular.module("angDomino").controller "UserRegistrationsCtrl", [ '$scope' '$auth' ($scope, $auth) -> $scope.handleRegBtnClick = -> $auth.submitRegistration $scope.registrationForm return return ]
Here's my sessions controller which does not work:
angular.module('angDomino').controller 'UserSessionsCtrl', [ '$scope' ($scope) -> $scope.$on 'auth:login-error', (ev, reason) -> $scope.error = reason.errors[0] return return ]
Anybody have any wisdom as to why this is? Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm using devise_token_auth with ng-token-auth and my user registration is working perfectly:
![registration](https://cloud.githubusercontent.com/assets/5875695/7484981/33a57352-f355-11e4-9d0c-d687e4cf4412.png)
The sign_out works perfectly:
I try to login with the same email and password and it always returns 401:
Here is my registrations controller (which works great):
Here's my sessions controller which does not work:
Anybody have any wisdom as to why this is? Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: