Allow users to put <front> to redirect to frontpage on logout.

redndahead - May 5, 2008 - 23:26
Project:CAS
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed
Description

Patch attached. There might be a better way to do this, but this patch works. The changes in this patch are reflected after applying the destination_url.patch found here: http://drupal.org/node/193460

AttachmentSize
logout_front.patch1.37 KB

#1

redndahead - June 16, 2008 - 21:38

Here is a better patch. It handles building the front page url in a more drupal way.

AttachmentSize
logout_front_2.patch 1.35 KB

#2

redndahead - June 16, 2008 - 21:43

Patch will apply cleanly to head. No need to apply this: http://drupal.org/node/193460 patch first.

#3

metzlerd - June 24, 2008 - 19:40

Here's a revised patch that combines an ugly hack do deal with the differences with a strategy submitted under a different issue that also allows for a supplied destination= logout url. Thoughts on this approach?

AttachmentSize
logout.patch 1.75 KB

#4

metzlerd - June 24, 2008 - 19:43

Woops accidently posted to the wrong isue.

#5

redndahead - May 30, 2009 - 07:15

Here is an updated patch. Hopefully this could get in it's helpful for my multisite environment.

AttachmentSize
cas-front-255086-1.patch 1.29 KB

#6

metzlerd - June 1, 2009 - 20:58
Status:needs review» fixed

Yeah sorry this languished so long. Tested and committed to HEAD.

#7

System Message - June 15, 2009 - 21:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.