Opened 15 years ago
Closed 15 years ago
#2257 closed defect (bug) (fixed)
Sign up activation error ignores root domain in redirection URL
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 1.2.4 | Priority: | major |
Severity: | Version: | ||
Component: | Core | Keywords: | has-patch |
Cc: |
Description
In a multisite install, if there is an error processing a user activation from a link containing a key, eg:
http://localhost.localdomain/content/activate?key=fd5f825062214b5c
...the user is redirected to BP_ACTIVATE_SLUG but without the root domain prefix, ie: /activate. This results in a 404 error.
Cause:
bp_core_activate_signup does not declare $bp as global, so $bp->root_domain is empty when it is used to build the redirection URL.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Affects multi-site installs only. Simple fix declaring the global, as per ticket description.