Skip to content
New issue

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

unknown attribute 'expiry' for User. #886

Closed
stansongman opened this issue May 11, 2017 · 5 comments
Closed

unknown attribute 'expiry' for User. #886

stansongman opened this issue May 11, 2017 · 5 comments

Comments

@stansongman
Copy link

stansongman commented May 11, 2017

I have an ionic 1-based app talking to Rails 5 backend, using ng-token-auth and devise_token_auth. I just added an error handler, and now when I try to register a new user, $auth.signup fails and returns this StandardError message: "unknown attribute 'expiry' for User."

@13LD
Copy link

13LD commented May 18, 2017

had the same problem, try to not include this header and it works for me

@stansongman
Copy link
Author

I'm not sure what your answer means.

@13LD
Copy link

13LD commented May 24, 2017

2017-05-24 10 58 18
example request with auth headers;
i'm not using attribute 'expiry' on headers

@stansongman
Copy link
Author

Thanks for clarifying. the problem seems to have disappeared at this moment, I have no idea why. I will look into the headers, though.

@stansongman
Copy link
Author

It cropped up again when implementing password reset. I solved it by adding an expiry field to the users table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants