mirror of
https://github.com/github/codeql.git
synced 2025-12-18 18:10:39 +01:00
9 lines
248 B
JavaScript
9 lines
248 B
JavaScript
var express = require('express');
|
|
|
|
var app = express();
|
|
app.get('/remember-password', function (req, res) {
|
|
let pw = req.param("current_password");
|
|
// BAD: Setting a cookie value with cleartext sensitive data.
|
|
res.cookie("password", pw);
|
|
});
|