Hello,

I think that

function cas_logout() {
  global $user;

should be changed to :

function cas_logout() {
  global $user, $base_url;

to have that below working :

    if (empty($destination)) {
      $destination = $base_url;
    }

Comments

metzlerd’s picture

Status: Active » Fixed

I agree. Committed to head.

Status: Fixed » Closed (fixed)

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

  • Commit 7d4bc5a on 6.x-3.x, 7.x-1.x, master, 8.x-1.x by metzlerd:
    #605424 Add global .