diff options
| author | default <nobody@localhost> | 2024-11-12 09:01:30 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2024-11-12 09:01:30 +0100 |
| commit | 19b9998f8c42918430f7c41ebd40b8339b9d7cd7 (patch) | |
| tree | 8e2a88f826cc8bf61878f50292d68d1b21597915 /html.c | |
| parent | 50fa2ae0e620b813e2eab3b6a89efdf171d7856e (diff) | |
The proxy token seed is created on startup and never stored.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3208,7 +3208,7 @@ int html_get_handler(const xs_dict *req, const char *q_path, } else { /* proxy usage authorized by proxy_token */ - xs *tks = xs_fmt("%s:%s", xs_dict_get(srv_config, "proxy_token_seed"), snac.actor); + xs *tks = xs_fmt("%s:%s", srv_proxy_token_seed, snac.actor); xs *tk = xs_md5_hex(tks, strlen(tks)); xs *p = xs_fmt("y/%s/", tk); |