mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-20 02:11:52 -04:00
Fix issue #235: annule le cache après connexion réussie
This commit is contained in:
1 parent
5e2023392e
commit
fe0e980b0c
2 files changed
+2
-3
No files matched your search
@@ -209,6 +209,7 @@ class indexController extends ActionController {
|
||||
$res = json_decode ($result, true);
|
||||
if ($res['status'] == 'okay' && $res['email'] == $this->view->conf->mailLogin ()) {
|
||||
Session::_param ('mail', $res['email']);
|
||||
touch(PUBLIC_PATH . '/data/touch.txt');
|
||||
} else {
|
||||
$res = array ();
|
||||
$res['status'] = 'failure';
|
||||
|
||||
@@ -593,9 +593,7 @@ function init_all() {
|
||||
init_notifications();
|
||||
init_actualize();
|
||||
init_load_more();
|
||||
if (window.current_user_mail) {
|
||||
init_persona();
|
||||
}
|
||||
init_persona();
|
||||
if (window.console) {
|
||||
console.log('FreshRSS init done.');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user