mirror of
https://github.com/JGeek00/adguard-home-manager.git
synced 2025-05-14 14:02:48 +00:00
Fixed issue validation encryption keys
This commit is contained in:
parent
121af9caaa
commit
fb74be3e69
6 changed files with 132 additions and 11 deletions
|
@ -4,4 +4,9 @@ String encodeBase64UserPass(String user, String pass) {
|
|||
String credentials = "$user:$pass";
|
||||
Codec<String, String> stringToBase64 = utf8.fuse(base64);
|
||||
return stringToBase64.encode(credentials);
|
||||
}
|
||||
|
||||
String encodeBase64(String value) {
|
||||
Codec<String, String> stringToBase64 = utf8.fuse(base64);
|
||||
return stringToBase64.encode(value);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue