mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-04-04 06:35:40 -04:00
Multi-user token
https://github.com/FreshRSS/FreshRSS/issues/1390 https://github.com/FreshRSS/FreshRSS/issues/366
This commit is contained in:
@@ -74,6 +74,10 @@ class FreshRSS_user_Controller extends Minz_ActionController {
|
||||
FreshRSS_Context::$user_conf->apiPasswordHash = $passwordHash;
|
||||
}
|
||||
|
||||
$current_token = FreshRSS_Context::$user_conf->token;
|
||||
$token = Minz_Request::param('token', $current_token);
|
||||
FreshRSS_Context::$user_conf->token = $token;
|
||||
|
||||
$ok &= FreshRSS_Context::$user_conf->save();
|
||||
|
||||
if ($ok) {
|
||||
|
||||
Reference in New Issue
Block a user