Public bug reported:

If we login via an external auth method and while we are logged in the
auth method becomes unavailable and then our session times out we can't
logout as it tries to the call the external logout() on an empty object.

We just get

[WAR] 8d (lib/errors.php:535) [Error]: Call to a member function logout() on 
boolean
Call stack (most recent first):

    exception(object(Error)) at Unknown:0

We can get around it by closing the browser - but would be better to log
user out correctly

** Affects: mahara
     Importance: Medium
         Status: In Progress

** Changed in: mahara
    Milestone: None => 19.10.0

** Changed in: mahara
       Status: New => In Progress

** Changed in: mahara
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1828303

Title:
  Unable to logout if session expires and authmethod gone away

Status in Mahara:
  In Progress

Bug description:
  If we login via an external auth method and while we are logged in the
  auth method becomes unavailable and then our session times out we
  can't logout as it tries to the call the external logout() on an empty
  object.

  We just get

  [WAR] 8d (lib/errors.php:535) [Error]: Call to a member function logout() on 
boolean
  Call stack (most recent first):

      exception(object(Error)) at Unknown:0

  We can get around it by closing the browser - but would be better to
  log user out correctly

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1828303/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to