Commit 7dcf08de authored by zheng liu's avatar zheng liu

Merged in dev (pull request #82)

fix: update
parents 9bfb5afb 64047868
......@@ -38,6 +38,9 @@ export class ElementGuacamoleComponent implements OnInit {
this._http.guacamole_token_add_asset(this.token, data['authToken']).subscribe(
data2 => {
this._logger.debug(data);
if (data2['result']) {
window.location.reload();
}
this.target = document.location.origin + '/guacamole/#/client/' + data2['result'] +
'?asset_token=jumpserver&token=' + data['authToken'];
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment