Removed redirect uri (#10380)

* Removed redirect uri

* Fixed lint
This commit is contained in:
Keith Holliday 2018-05-20 13:02:37 -05:00 committed by GitHub
parent 5212ac6394
commit c52e4a07d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 8 deletions

View file

@ -433,12 +433,10 @@ export default {
await hello(network).logout();
} catch (e) {} // eslint-disable-line
const url = window.location.href;
let auth = await hello(network).login({
scope: 'email',
// explicitly pass the redirect url or it might redirect to /home
redirect_uri: url, // eslint-disable-line camelcase
redirect_uri: '', // eslint-disable-line camelcase
});
await this.$store.dispatch('auth:socialAuth', {

View file

@ -663,13 +663,10 @@
await hello(network).logout();
} catch (e) {} // eslint-disable-line
const url = window.location.href;
let auth = await hello(network).login({
const auth = await hello(network).login({
scope: 'email',
// explicitly pass the redirect url or it might redirect to /home
redirect_uri: url, // eslint-disable-line camelcase
redirect_uri: '', // eslint-disable-line camelcase
});
await this.$store.dispatch('auth:socialAuth', {