|
@ -619,12 +619,12 @@ export default { |
|
|
*/ |
|
|
*/ |
|
|
|
|
|
|
|
|
created() { |
|
|
created() { |
|
|
//var logintoken = new URL(location.href).searchParams.get("token"); |
|
|
var logintoken = new URL(location.href).searchParams.get("token"); |
|
|
|
|
|
|
|
|
// ΕΔΩ ΠΡΠΕΕΙ ΝΑ ΑΛΛΑΧΤΕΙ ΤΟ URL ΩΣΤΕ ΝΑ ΚΑΝΕΙ AUTHENTICATION |
|
|
// ΕΔΩ ΠΡΠΕΕΙ ΝΑ ΑΛΛΑΧΤΕΙ ΤΟ URL ΩΣΤΕ ΝΑ ΚΑΝΕΙ AUTHENTICATION |
|
|
var logintoken = new URL( |
|
|
//var logintoken = new URL( |
|
|
"https://api-client.swarmlab.io:8088/?token=b0dddc676d2491d8e98632d8afc636b6a28f1234" |
|
|
// "https://api-client.swarmlab.io:8088/?token=b0dddc676d2491d8e98632d8afc636b6a28f1234" |
|
|
).searchParams.get("token"); |
|
|
//).searchParams.get("token"); |
|
|
this.logintoken = logintoken; |
|
|
this.logintoken = logintoken; |
|
|
// === We get the user + check for the token if exists |
|
|
// === We get the user + check for the token if exists |
|
|
this.checktoken(this.logintoken); |
|
|
this.checktoken(this.logintoken); |
|
|