Commit 13b462b3 authored by ibuler's avatar ibuler

[Update] base64

parent d6228416
......@@ -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