Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix firebase auth issue (auth callback meaning inverted)

  • Loading branch information...
commit 9d57ad42ec3245d4c86d5a1ed3cf86db8842b9b5 1 parent a78473c
@dzello authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 www/weeve.js
View
4 www/weeve.js
@@ -457,9 +457,9 @@ $(function() {
// If a user has logged in, use the auth token to authenticate with firebase
if (localStorage.firebaseAuthToken) {
- firebase.auth(localStorage.firebaseAuthToken, function(success) {
+ firebase.auth(localStorage.firebaseAuthToken, function(error) {
keen("progress", { step: "firebase_auth" })
- if (success) {
+ if (!error) {
// Retrieve twitter & auth data via singly
$.getJSON(sprintf("%s/profiles/twitter", singlyApiHost),
{ auth: true,
Please sign in to comment.
Something went wrong with that request. Please try again.