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