feat(xo-server/sensitive-values): make obfuscated value obvious
This commit is contained in:
parent
83ea57d825
commit
3616b7a67b
@ -1,7 +1,7 @@
|
|||||||
import mapValues from 'lodash/mapValues'
|
import mapValues from 'lodash/mapValues'
|
||||||
|
|
||||||
// this random value is used to obfuscate real data
|
// this random value is used to obfuscate real data
|
||||||
const OBFUSCATED_VALUE = 'q3oi6d9X8uenGvdLnHk2'
|
const OBFUSCATED_VALUE = 'obfuscated-q3oi6d9X8uenGvdLnHk2'
|
||||||
|
|
||||||
export const merge = (newValue, oldValue) => {
|
export const merge = (newValue, oldValue) => {
|
||||||
if (newValue === OBFUSCATED_VALUE) {
|
if (newValue === OBFUSCATED_VALUE) {
|
||||||
|
Loading…
Reference in New Issue
Block a user