mirror of
https://github.com/coder/code-server.git
synced 2024-12-11 10:32:18 +03:00
a65773338c
When `isAuthed()` is called and the password cookie is not what we expected, the failed login attempt is logged with the provided password, remote address and user agent. To allow for logging failed attempts with a reverse proxy, the `--trust-proxy` argument has been added to trust the `X-Forwarded-For` header. This implementation of an `X-Forwarded-For` parser uses the last value in the list, therefore only trusting the nearest proxy. |
||
---|---|---|
.. | ||
app | ||
disposable | ||
dns | ||
events | ||
ide | ||
ide-api | ||
logger | ||
protocol | ||
requirefs | ||
runner | ||
server | ||
tunnel | ||
vscode | ||
web | ||
package.json | ||
tsconfig.json | ||
yarn.lock |