Skip to content

Home page access without login. - #38

Open
Etan31 wants to merge 2 commits into
chavi362:mainfrom
Etan31:Etan31_branch
Open

Home page access without login.#38
Etan31 wants to merge 2 commits into
chavi362:mainfrom
Etan31:Etan31_branch

Conversation

@Etan31

@Etan31 Etan31 commented Nov 25, 2024

Copy link
Copy Markdown

The home page could previously be accessed without logging in by right-clicking the image. When the home page is run, the image icy-tower-start1.png could be right-clicked and opened in a new tab, allowing users to bypass the login requirement. To address this, I have now added a checkLoginStatus function to ensure users cannot access the home page without logging in.

@Etan31 Etan31 left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This redirect user to home-page after login, to hide the modal when the user is already Logged In

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

Successfully merging this pull request may close these issues.

2 participants