mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-08 10:53:29 -04:00
Refactor authentication system.
Big work, not finished. A lot of features have been removed. See https://github.com/marienfressinaud/FreshRSS/issues/655
This commit is contained in:
1 parent
530a1d4b6b
commit
79aa5beaf4
20 files changed
+325
-450
No files matched your search
@@ -5,7 +5,7 @@ class FreshRSS_users_Controller extends Minz_ActionController {
|
||||
const BCRYPT_COST = 9; //Will also have to be computed client side on mobile devices, so do not use a too high cost
|
||||
|
||||
public function firstAction() {
|
||||
if (!$this->view->loginOk) {
|
||||
if (!FreshRSS_Auth::hasAccess()) {
|
||||
Minz_Error::error(
|
||||
403,
|
||||
array('error' => array(_t('access_denied')))
|
||||
|
||||
Reference in new issue
Block a user