mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/portal.git
synced 2026-08-21 13:34:08 +00:00
pull
This commit is contained in:
@@ -31,6 +31,10 @@
|
||||
export default {
|
||||
data(){
|
||||
return {
|
||||
parameters: {
|
||||
access_token: this.email,
|
||||
platform: 1
|
||||
},
|
||||
loading: false
|
||||
}
|
||||
},
|
||||
@@ -38,8 +42,8 @@
|
||||
iframeEvent(event) {
|
||||
if(event.origin !== 'http://exchange-2.0.test') return;
|
||||
if (event.data.data) {
|
||||
console.log(event.data.data.payload.access_token);
|
||||
|
||||
this.parameters.access_token = event.data.data.payload.access_token;
|
||||
this.submit(this.route('api.account.authentication.authenticate.cross.attempt'), 'post', this.section, false, false)
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user