Commit 1705343b authored by Andrew Belcher's avatar Andrew Belcher
Browse files

by andrewbelcher: Fix DecoupledAuthUser::isAuthenticated.

parent 3fdb8e2a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -98,7 +98,7 @@ class DecoupledAuthUser extends User implements DecoupledAuthUserInterface {
   */
  public function isAuthenticated() {
    // Only coupled users are authenticated.
    return $this->isCoupled();
    return parent::isAuthenticated() && $this->isCoupled();
  }

  /**