Commit 13b462b3 authored by ibuler's avatar ibuler

[Update] base64

parent d6228416
...@@ -286,8 +286,8 @@ export class ElementAssetTreeComponent implements OnInit, OnChanges { ...@@ -286,8 +286,8 @@ export class ElementAssetTreeComponent implements OnInit, OnChanges {
data: {username: user.username} data: {username: user.username}
}); });
dialogRef.afterClosed().subscribe(result => { dialogRef.afterClosed().subscribe(result => {
user.username = result.username; user.username = btoa(result.username);
user.password = result.password; user.password = btoa(result.password);
return this.login(host, user); 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