8000 Solved Issue Show User Details when session data is not expired by RonakSurana-2001 · Pull Request #46 · sristy17/MindDrive · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Solved Issue Show User Details when session data is not expired #46

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

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

RonakSurana-2001
Copy link
Contributor
@RonakSurana-2001 RonakSurana-2001 commented Oct 6, 2024

Fixes Issue

#44

Changes proposed

I have done changes that req.session.user is sended to /profile,/chatbot,/about from app.js. Then in profile.js if typeof user =="undefined" then the signin and signup are displayed else the username is displayed. Also on the sidebar/topbar user has option to logout if user is logged in.

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

Media1.3.mp4

Note to reviewers

@pooranjoyb
Copy link
Collaborator

Awesome one @RonakSurana-2001 🚀

@pooranjoyb pooranjoyb added hacktoberfest-2024 label for hacktoberfest 2024 hacktoberfest label for hacktoberfest 2024 hacktoberfest-accepted Successful PR merge in Hacktoberfest 2024 labels Oct 7, 2024
@pooranjoyb pooranjoyb merged commit ce84c14 into sristy17:main Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest label for hacktoberfest 2024 hacktoberfest-2024 label for hacktoberfest 2024 hacktoberfest-accepted Successful PR merge in Hacktoberfest 2024
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Show User Details when session data is not expired (Conditional Rendering)
2 participants
0