How To Register Signup User Redirect Edit Profile In Drupal 7
Hi,
If a user visits the login/registration urls later a user is logged in they get Access Denied. Anyhow to brand this more friendly? Perhaps redirect them to their contour view page?
Thanks.
| Comment | File | Size | Writer |
|---|---|---|---|
| #8 | 1861378-403-eight.patch | 3.29 KB | Lukas von Blarer |
| FAILED: [[SimpleTest]]: [MySQL] Unable to employ patch 1861378-403-viii.patch. Unable to apply patch. Meet the log in the details link for more information. View | |||
Support from Acquia helps fund testing for Drupal
Source: https://www.drupal.org/project/profile2_regpath/issues/1861378
Posted by: behanworturearown.blogspot.com

Comments
Uh, I don't desire to change my 403s, I want them to be sent to a folio that isn't a 403... am I missing something
Comment #5
codesmith
Credit Attribution: codesmith commented
I kept getting Admission DENIED fault after an user logins to the site and tries to visit any of the profile pages beneath:
[path], [path]/register, [path]/login, and [path]/password
if using user/, user/annals, user/login, and user/pssword everything works fine.
With profile2 unique registration path all I get is a 403 error. It looks like a problem with the module, not a drupal access issue.
I used the custom error module to add a redirect. I was unable to get it to work with rules.
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 1861378-403-8.patch. Unable to employ patch. See the log in the details link for more than information. View
Created a commencement patch which fixes this issue. Might demand some work.
I solved it with rules path module. Only redirect logged in user to "user" path.
I was looking for a simple redirect solution for this 403 likewise. I'll check out the rules path module.
The Drupal Rules module can be used to achieve this without the need for boosted modules.
Add an event of "User has logged in" and an activity of "Folio redirect." And then only add whatever path to which you'd similar the logged in user to exist redirected.
The way that core handles this is actually pretty clever. I wonder if it would exist best to replicate that behavior by default? I was able to achieve this by duplicating the way cadre does it:
If there isn't something terribly incorrect with this approach, I'd be happy to whip up a patch to accomplish this in a more generic style via this module.
I was thinking about going the rules route but it doesn't really make sense since I'm also using LoginToboggan which redirects users to a login if admission is denied. If a user is to login using i of those pages I would assume they wouldn't exist redirected to the right destination.