File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
app/code/Magento/Customer/Controller/Ajax Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 27
27
class Login extends \Magento \Framework \App \Action \Action implements HttpPostActionInterface
28
28
{
29
29
/**
30
- * @var \Magento\Framework\Session\Generic
30
+ * @var \Magento\Customer\Model\Session
31
31
*/
32
- protected $ session ;
32
+ protected $ customerSession ;
33
33
34
34
/**
35
35
* @var AccountManagementInterface
Original file line number Diff line number Diff line change 7
7
8
8
namespace Magento \Customer \Controller \Ajax ;
9
9
10
+ use Magento \Framework \App \Action \HttpGetActionInterface ;
11
+
10
12
/**
11
13
* Logout controller
12
14
*
13
15
* @method \Magento\Framework\App\RequestInterface getRequest()
14
16
* @method \Magento\Framework\App\Response\Http getResponse()
15
17
*/
16
- class Logout extends \Magento \Framework \App \Action \Action
18
+ class Logout extends \Magento \Framework \App \Action \Action implements HttpGetActionInterface
17
19
{
18
20
/**
19
- * @var \Magento\Framework\Session\Generic
21
+ * @var \Magento\Customer\Model\Session
20
22
*/
21
- protected $ session ;
23
+ protected $ customerSession ;
22
24
23
25
/**
24
26
* @var \Magento\Framework\Controller\Result\JsonFactory
You can’t perform that action at this time.
0 commit comments