mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-04 10:43:29 +00:00
Explicitly send register: false during login (#1596)
* Explicitly send register: false during login * Update CHANGELOG.md
This commit is contained in:
parent
16a218ad49
commit
d6a8cbb1f3
@ -13,7 +13,7 @@ X.Y.Z Release notes
|
||||
should help with failing token refreshes on a loaded server.
|
||||
|
||||
### Internal
|
||||
* None.
|
||||
* Explicitly send `register: false` when logging in with `Realm.Sync.User.login` to avoid creating the user if they don't exist.
|
||||
|
||||
2.1.1 Release notes (2017-12-15)
|
||||
=============================================================
|
||||
|
@ -225,7 +225,7 @@ const staticMethods = {
|
||||
checkTypes(arguments, ['string', 'string', 'string', 'function']);
|
||||
const json = {
|
||||
provider: 'password',
|
||||
user_info: { password: password },
|
||||
user_info: { password: password, register: false },
|
||||
data: username
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user