Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

function isLoggedIn inside AuthenticationBase always fails #163

Closed
eafarooqi opened this issue Feb 29, 2020 · 0 comments
Closed

function isLoggedIn inside AuthenticationBase always fails #163

eafarooqi opened this issue Feb 29, 2020 · 0 comments

Comments

@eafarooqi
Copy link
Contributor

The function isLoggedIn inside AuthenticationBase fails when using AuthTrait restrict function,

use \Myth\Auth\AuthTrait;

public function __construct() 
{
	$this->restrict( );
}

i tracked the issue and it seams that inside isLoggedIn function $userID is never assigned any value, so its always null and function always return false.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant