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

User Login Check #36

Closed
URB4NZ opened this issue Mar 17, 2020 · 1 comment
Closed

User Login Check #36

URB4NZ opened this issue Mar 17, 2020 · 1 comment

Comments

@URB4NZ
Copy link
Contributor

URB4NZ commented Mar 17, 2020

i have noticed that pages like Login, Register, Forgot Password are still accessible to users even if they are loggedin i would recommend maybe adding
if(isset($this->user->loggedin)){ header("Location:?page=" . $this->page->landingPage); exit; }
in each of the construct functions to make sure it is checked.

@uaktags
Copy link

uaktags commented Oct 2, 2020

I think this is solved by #52

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

2 participants