File tree 2 files changed +6
-1
lines changed
Backend/Controller/Adminhtml/Auth
User/Controller/Adminhtml/User
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,11 @@ public function execute()
48
48
return $ this ->getRedirect ($ this ->_backendUrl ->getStartupPageUrl ());
49
49
}
50
50
51
+ $ requestUrl = $ this ->getRequest ()->getUri ();
52
+ if (!$ requestUrl ->isValid ()) {
53
+ return $ this ->getRedirect ($ this ->getUrl ('* ' ));
54
+ }
55
+
51
56
return $ this ->resultPageFactory ->create ();
52
57
}
53
58
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ public function execute()
105
105
$ this ->getSecurityCookie ()->setLogoutReasonCookie (
106
106
\Magento \Security \Model \AdminSessionsManager::LOGOUT_REASON_USER_LOCKED
107
107
);
108
- $ this ->_redirect ('adminhtml/*/ ' );
108
+ $ this ->_redirect ('* ' );
109
109
} catch (NotificationExceptionInterface $ exception ) {
110
110
$ this ->messageManager ->addErrorMessage ($ exception ->getMessage ());
111
111
} catch (\Magento \Framework \Exception \AuthenticationException $ e ) {
You can’t perform that action at this time.
0 commit comments