pass domain to authenticate for appid (#5012)
This commit is contained in:
parent
463f72ee56
commit
697651b0e8
3 changed files with 5 additions and 4 deletions
|
@ -137,7 +137,7 @@
|
|||
"json-loader": "^0.5.4",
|
||||
"lbry-format": "https://github.com/lbryio/lbry-format.git",
|
||||
"lbry-redux": "lbryio/lbry-redux#c86810038c966f5d88e1df7b787fbe1d31a96802",
|
||||
"lbryinc": "lbryio/lbryinc#801f1590590962fe53fe6fb6d3a7012a636bb36b",
|
||||
"lbryinc": "lbryio/lbryinc#9371b3181f9e38714a3986f56d2d10c534ef9dda",
|
||||
"lint-staged": "^7.0.2",
|
||||
"localforage": "^1.7.1",
|
||||
"lodash-es": "^4.17.14",
|
||||
|
|
|
@ -5,6 +5,7 @@ import { selectEmailToVerify, selectPhoneToVerify, selectUserCountryCode, select
|
|||
import { doToast } from 'redux/actions/notifications';
|
||||
import rewards from 'rewards';
|
||||
import { Lbryio } from 'lbryinc';
|
||||
import { DOMAIN } from 'config';
|
||||
|
||||
export function doFetchInviteStatus(shouldCallRewardList = true) {
|
||||
return dispatch => {
|
||||
|
@ -101,7 +102,7 @@ export function doAuthenticate(
|
|||
type: ACTIONS.AUTHENTICATION_STARTED,
|
||||
});
|
||||
|
||||
Lbryio.authenticate()
|
||||
Lbryio.authenticate(DOMAIN)
|
||||
.then(user => {
|
||||
Lbryio.getAuthToken().then(token => {
|
||||
dispatch({
|
||||
|
|
|
@ -7419,9 +7419,9 @@ lbry-redux@lbryio/lbry-redux#c86810038c966f5d88e1df7b787fbe1d31a96802:
|
|||
reselect "^3.0.0"
|
||||
uuid "^8.3.1"
|
||||
|
||||
lbryinc@lbryio/lbryinc#801f1590590962fe53fe6fb6d3a7012a636bb36b:
|
||||
lbryinc@lbryio/lbryinc#9371b3181f9e38714a3986f56d2d10c534ef9dda:
|
||||
version "0.0.1"
|
||||
resolved "https://codeload.github.com/lbryio/lbryinc/tar.gz/801f1590590962fe53fe6fb6d3a7012a636bb36b"
|
||||
resolved "https://codeload.github.com/lbryio/lbryinc/tar.gz/9371b3181f9e38714a3986f56d2d10c534ef9dda"
|
||||
dependencies:
|
||||
reselect "^3.0.0"
|
||||
|
||||
|
|
Loading…
Reference in a new issue