mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 10:46:43 +02:00
feat(analytics): add current date and secret salt to analytics hash for improved privacy
This commit is contained in:
parent
d021abb52f
commit
6f2e7c009c
4 changed files with 64 additions and 21 deletions
|
|
@ -25,6 +25,19 @@ class Analytics extends BaseConfig
|
|||
'analytics-filtered-data' => 'permission:podcasts-view,podcast-view',
|
||||
];
|
||||
|
||||
/**
|
||||
* --------------------------------------------------------------------------
|
||||
* Secret Salt
|
||||
* --------------------------------------------------------------------------
|
||||
*
|
||||
* The secret salt is a string of random characters that is used when hashing data.
|
||||
* Each Castopod instance has its own secret salt so keys will never be the same.
|
||||
*
|
||||
* Example:
|
||||
* Z&|qECKBrwgaaD>~;U/tXG1U%tSe_oi5Tzy)h>}5NC2npSrjvM0w_Q>cs=0o=H]*
|
||||
*/
|
||||
public string $salt = '';
|
||||
|
||||
/**
|
||||
* get the full audio file url
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue