-
Notifications
You must be signed in to change notification settings - Fork 116
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
/api/login chokes on onLoggedIn call #2
Comments
Shame on me. I'll get the fix up very shortly. The error was introduced in the latest update, so if you want to revert to version 0.5.4 temporarily, you should be fine. Just run |
Awesome! Thanks for the prompt reply |
No, meteor, don't add 0.5.5... #nooooo:
|
Aha -- kahmali meant |
Okay, got it authenticating -- I had to roll back to 0.5.3 and explicitly set |
Sorry for giving you the wrong revert command! Geez. I'm a mess. I just published an update with the fix. Please let me know if you have any issues with the latest version. Thanks so much for reporting this! |
No worries! You got me going in the right direction :), and the newest update works fine. Thanks! |
I have a RESTful API set up with useAuth turned on. Whenever I try to access /api/login with a valid username and password, I get this error:
That spot corresponds to this call in restivus.coffe:
@Restivus.config.onLoggedIn.call this
So presumably something's gone weird with "this" such that this.Restivus is undefined. Maybe an easy fix?
The text was updated successfully, but these errors were encountered: