Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.3] Remove message on login #40539

Merged
merged 6 commits into from
May 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions components/com_users/src/Controller/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,6 @@ public function login()

$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));
}

Expand Down
4 changes: 3 additions & 1 deletion language/en-GB/com_users.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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."
obuisard marked this conversation as resolved.
Show resolved Hide resolved
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."
Expand Down Expand Up @@ -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."