Skip to content

Commit 298fecc

Browse files
committed
redact mongodb uri
1 parent d0cbe94 commit 298fecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/playground-ui/src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ function App() {
719719

720720
<Grid container spacing={3}>
721721
<Grid item xs={12} md={6}>
722-
<TextField fullWidth label="MongoDB URI" variant="outlined" value={formConfig.mongoUrl} onChange={(e) => setFormConfig({ ...formConfig, mongoUrl: e.target.value })} sx={{ mt: 2 }} />
722+
<TextField fullWidth label="MongoDB URI" variant="outlined" value={formConfig.mongoUrl ? '********' : ''} onChange={(e) => setFormConfig({ ...formConfig, mongoUrl: e.target.value })} sx={{ mt: 2 }} />
723723
</Grid>
724724
<Grid item xs={12} md={6}>
725725
<TextField fullWidth label="Database" variant="outlined" value={formConfig.database} onChange={(e) => setFormConfig({ ...formConfig, database: e.target.value })} sx={{ mt: 2 }} />

0 commit comments

Comments
 (0)