Remove Redirect Response from hook_user_login

Created on 17 May 2019, about 5 years ago
Updated 16 October 2023, 9 months ago

Creating a new issue, as only maintainers can reopen issues. The original issue was marked as fixed, but the issue of using redirect response directly from hook user_login is still present.

hook_user_login() should not be used to redirect users after they login, simply for the fact that redirecting users in that hook would stop other hook_user_login() implementations from being invoked.

See https://drupal.stackexchange.com/a/195187/45409

The original issue:
#3033459: Remove Redirect Response from hook_user_login

🐛 Bug report
Status

Closed: duplicate

Version

2.7

Component

Code

Created by

🇺🇸United States oknate Greater New York City Area

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024