Unverified Commit 7e0de1fd authored by 老广's avatar 老广 Committed by GitHub

Merge pull request #88 from jumpserver/manual

[Update] base64
parents 4452a985 13b462b3
......@@ -286,8 +286,8 @@ export class ElementAssetTreeComponent implements OnInit, OnChanges {
data: {username: user.username}
});
dialogRef.afterClosed().subscribe(result => {
user.username = result.username;
user.password = result.password;
user.username = btoa(result.username);
user.password = btoa(result.password);
return this.login(host, user);
});
}
......
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