diff --git a/components/com_users/src/Controller/UserController.php b/components/com_users/src/Controller/UserController.php index 8c64e509a99..78ee13fb0af 100644 --- a/components/com_users/src/Controller/UserController.php +++ b/components/com_users/src/Controller/UserController.php @@ -105,9 +105,6 @@ class UserController extends BaseController $this->app->setUserState('users.login.form.data', []); - // Show a message when a user is logged in. - $this->app->enqueueMessage(Text::_('COM_USERS_FRONTEND_LOGIN_SUCCESS'), 'message'); - $this->app->redirect(Route::_($this->app->getUserState('users.login.form.return'), false)); } diff --git a/language/en-GB/com_users.ini b/language/en-GB/com_users.ini index 2ba1cb2db21..3e7c64ddeea 100644 --- a/language/en-GB/com_users.ini +++ b/language/en-GB/com_users.ini @@ -30,7 +30,6 @@ COM_USERS_FIELD_RESET_CONFIRM_USERNAME_LABEL="Username" COM_USERS_FIELD_RESET_PASSWORD1_LABEL="Password" COM_USERS_FIELD_RESET_PASSWORD1_MESSAGE="The passwords you entered do not match. Please enter your desired password in the password field and confirm your entry by entering it in the confirm password field." COM_USERS_FIELD_RESET_PASSWORD2_LABEL="Confirm Password" -COM_USERS_FRONTEND_LOGIN_SUCCESS="You have been logged in." COM_USERS_FRONTEND_LOGOUT_SUCCESS="You have been logged out." COM_USERS_INVALID_EMAIL="Invalid email address" COM_USERS_LBL_SELECT_INSTRUCTIONS="Please select how you would like to verify your login to this site." @@ -162,3 +161,6 @@ COM_USERS_PROFILE_OTEPS_WAIT_DESC="There are no emergency one time passwords gen COM_USERS_PROFILE_TWOFACTOR_DESC="Select the two factor authentication method you want to use." COM_USERS_PROFILE_TWOFACTOR_LABEL="Authentication Method" COM_USERS_PROFILE_TWO_FACTOR_AUTH="Two Factor Authentication" + +; Obsolete language strings since 4.3.0 -- Remove them in Joomla 5.0 +COM_USERS_FRONTEND_LOGIN_SUCCESS="You have been logged in."