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

Logout functionality for stakeholder and student #127

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

ygowthamr
Copy link
Contributor

@ygowthamr ygowthamr commented Oct 14, 2024

Implemented Logout Functionality for Stakeholders and Students

Description:

  • Added logout functionality for both stakeholders and students.

Code Changes:

  • In dBServer.js file the lines nos are 10,111
  • In Dashboard.html the line nos are 30,102-122
  • In stk_dashboard.html line nos are 223-243
  • Logout.js in entirely new file

@Harshdev098
Give me labels like gssoc extd, level3, hacktoberfest,etc

Fixes #87

@ygowthamr
Copy link
Contributor Author

ygowthamr commented Oct 15, 2024

@Harshdev098
I have created a new branch,
Pls merge my pr.

login-system/logout.js Show resolved Hide resolved

if (response.ok) {
localStorage.removeItem('token'); // Remove the token from storage
Copy link
Owner

Choose a reason for hiding this comment

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

Make them functions not any endpoints

@ygowthamr
Copy link
Contributor Author

@Harshdev098
In the next issue i am going to do sessions for this app at that time i use this endpoint.

@Harshdev098
Copy link
Owner

Okay

@Harshdev098 Harshdev098 merged commit 6b8e994 into Harshdev098:main Oct 15, 2024
1 check passed
@Harshdev098 Harshdev098 added hacktoberfest This issue belongs to hacktoberfest gssoc-ext This issue is under GSSoc Ext program level3 labe3 label for gssoc hacktoberfest-accepted label for accepted PRs under hacktoberfest labels Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc-ext This issue is under GSSoc Ext program hacktoberfest This issue belongs to hacktoberfest hacktoberfest-accepted label for accepted PRs under hacktoberfest level3 labe3 label for gssoc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

FEATURE : Logout functionality for stakeholder and student
2 participants