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

do not override username #1142

Merged
merged 1 commit into from
Mar 23, 2016
Merged

do not override username #1142

merged 1 commit into from
Mar 23, 2016

Conversation

flovilmart
Copy link
Contributor

fixes #1136

@codecov-io
Copy link

Current coverage is 91.85%

Merging #1142 into master will not affect coverage as of 9441203

@@            master   #1142   diff @@
======================================
  Files           92      92       
  Stmts         5808    5807     -1
  Branches      1056    1056       
  Methods          0       0       
======================================
- Hit           5335    5334     -1
  Partial         11      11       
  Missed         462     462       

Review entire Coverage Diff as of 9441203

Powered by Codecov. Updated on successful CI builds.

@@ -281,26 +281,26 @@ RestWrite.prototype.handleAuthData = function(authData) {

this.storage['authProvider'] = Object.keys(authData).join(',');

if (results.length == 0) {
this.data.username = cryptoUtils.newToken();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just needed to remove that so we don't override username when we have no results

@flovilmart flovilmart merged commit 3ce634b into master Mar 23, 2016
@flovilmart flovilmart deleted the flovilmart.fixes1136 branch March 23, 2016 11:52
@lolobosse
Copy link

I can confirm, made it running and it solved my bug. GG @flovilmart

What is the usual time for release of such a fix?

@flovilmart
Copy link
Contributor Author

This has been merged to master, that will go to the next release, (we just released yesterday).
Do you deploy your app remotely? on heroku? What does your folder structure look like?

@lolobosse
Copy link

I host myself and use Parse-example basically.

To test your code, I patched (dirty) the bin folder 😆

@flovilmart
Copy link
Contributor Author

ok good

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

Successfully merging this pull request may close these issues.

Problem upgrading from anonymous user
4 participants