I'm trying to send some parameters to set as the value of input of a html page. One of the parameters is a password field and I need to pass that value in some way that it can't be read in browser's developer mode. I'm using handlebars for rendering my html page. my render part of the code is like this:
app.get('/config', verifyToken,(req, res)=> {
console.log('got /config data');
res.render('config',{
address: config.address,
port: config.port,
username: config.username,
password: config.password,
})
and my html page is like below code:
<input class="long-input" value={{password}} type="password" id="password">
Is there any solution to make the value secure so it can't be read in deveploper mode ?