don't decrypt empty values
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
@@ -259,6 +259,10 @@ Future<Map<String, dynamic>> convertAllToString(
|
||||
}
|
||||
|
||||
String encryptValue(String value, String password) {
|
||||
if (value.isEmpty) {
|
||||
return value;
|
||||
}
|
||||
|
||||
final sodium = constants.sodium;
|
||||
if (sodium == null) {
|
||||
return value;
|
||||
|
Reference in New Issue
Block a user