Skip to content

Implement CLI Login/Signup System for Issue #21#38

Merged
Once-1296 merged 3 commits intoProjectX-VJTI:mainfrom
Asmi768:fix/python-bugs-exercise-1
Mar 3, 2026
Merged

Implement CLI Login/Signup System for Issue #21#38
Once-1296 merged 3 commits intoProjectX-VJTI:mainfrom
Asmi768:fix/python-bugs-exercise-1

Conversation

@Asmi768
Copy link
Copy Markdown

@Asmi768 Asmi768 commented Mar 3, 2026

📝 CoC Python Workshop – Submission PR


👤 Student Details

  • Name: Asmi Mohan
  • GitHub Username: Asmi768
  • University ID: PDAYBCA007
  • Branch / Section: BCA (Hons) – 2nd Year

📂 Submission Details

  • Folder Name: Asmi768_solutions
  • Number of Files Changed/Added: 2

📄 List of Files Changed/Added

  • cli_auth_system/main.py – CLI login/signup system
  • cli_auth_system/users.txt – Stores user credentials in hashed format (auto-created)

🛠 Description of Changes

  • Added a CLI-based login and signup system as described in Issue CLI login signup system #21.
  • Implemented hashed password storage using Python’s hashlib to secure user credentials.
  • Added a menu loop to keep the program running until the user chooses to exit.
  • Implemented terminal screen clearing for smooth user experience when switching between login, signup, and main menu.
  • Created users.txt automatically to store users; the file format ensures passwords are not stored in plain text.
  • Added comments in code explaining each step for readability and maintainability.

✅ Self-Declaration

I confirm that:

  • I have followed the repository submission guidelines.
  • I worked on my own fork.
  • I confirm my folder is correctly named.
  • All changes are inside my Asmi768_solutions folder.
  • I have tested my code before submission.
  • This is my own work to the best of my knowledge.

@Once-1296
Copy link
Copy Markdown
Collaborator

Once-1296 commented Mar 3, 2026

From what I can see, there are 2 empty folders called GSoC and cli_auth_system.

Delete them from the top level

Also within your solutions folder just put the 2 files you made inside a new folder called cli_auth_system (which is still within your solutions folder)

Do that much and commit again and I'll merge.

@Once-1296
Copy link
Copy Markdown
Collaborator

Alright now just do all edits within your solutions folder only. When multiple files are added group them in appropriate folders to separate work. Merging now👍🏻

@Once-1296 Once-1296 merged commit 3989832 into ProjectX-VJTI:main Mar 3, 2026
1 check passed
@Asmi768
Copy link
Copy Markdown
Author

Asmi768 commented Mar 3, 2026

@Once-1296 Thank you so much for the guidance and merge! I’ve made sure all edits are properly organized within the solutions folder as suggested. I really appreciate your feedback—it’s helping me as a beginner to contribute better.

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.

3 participants