mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-19 05:44:39 -04:00
Implement sudo mode / reauthentication (#7753)
* Implement sudo mode / reauthentication * i18n: fr * generate flags * Improvements * Remove HMAC check * Don't require reauth to access logs when signed in as admin * Notify user of bad login via notification instead --------- Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
This commit is contained in:
@@ -270,6 +270,10 @@ class FreshRSS_update_Controller extends FreshRSS_ActionController {
|
||||
Minz_Request::forward(['c' => 'update'], true);
|
||||
}
|
||||
|
||||
if (FreshRSS_Auth::requestReauth()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (Minz_Request::paramBoolean('post_conf')) {
|
||||
if (self::isGit()) {
|
||||
$res = !self::hasGitUpdate();
|
||||
|
||||
Reference in New Issue
Block a user