Ver código fonte

fix: Update the user's last activity on login action (#7406)

berumuron 1 ano atrás
pai
commit
40cdeb8687
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      app/Controllers/authController.php

+ 2 - 0
app/Controllers/authController.php

@@ -164,6 +164,8 @@ class FreshRSS_auth_Controller extends FreshRSS_ActionController {
 
 				Minz_Translate::init(FreshRSS_Context::userConf()->language);
 
+				FreshRSS_UserDAO::touch();
+
 				// All is good, go back to the original request or the index.
 				$url = Minz_Url::unserialize(Minz_Request::paramString('original_request'));
 				if (empty($url)) {