File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
app/code/Magento/LoginAsCustomer/Controller/Login Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 6
6
declare (strict_types=1 );
7
7
namespace Magento \LoginAsCustomer \Controller \Login ;
8
8
9
+ use Magento \Backend \Model \View \Result \Page ;
9
10
use Magento \Framework \Controller \ResultFactory ;
10
11
use Magento \Framework \Controller \ResultInterface ;
11
12
use Magento \Framework \App \Action \HttpGetActionInterface ;
@@ -24,6 +25,9 @@ class Proceed extends Action implements HttpGetActionInterface
24
25
*/
25
26
public function execute ():ResultInterface
26
27
{
28
+ /** @var Page $resultPage */
29
+ $ resultPage = $ this ->resultFactory ->create (ResultFactory::TYPE_PAGE );
30
+ $ resultPage ->getConfig ()->getTitle ()->set (__ ("You are logged in " ));
27
31
return $ this ->resultFactory ->create (ResultFactory::TYPE_PAGE );
28
32
}
29
33
}
You can’t perform that action at this time.
0 commit comments