Skip to content

Commit 7418e40

Browse files
authored
Update DOCS.md
1 parent 88d83f2 commit 7418e40

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

DOCS.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
This Spring Boot application leverages the latest Spring Security 6, JSON Web Token, and Thymeleaf dependencies. Built with an MVC architecture, the app provides a user-friendly authentication mechanism for seamless user interactions. This app offers a range of features, including Java SMTP mail for password reset, user registration, user login, user deletion, and log-out functionality. The app starts with 11 users: 1 admin, 10 users. Admin can delete users, while regular users have limited access to the dashboard.
66

7-
Credentials:
8-
97
## Instruction
108

119
### Guide to run the project:
@@ -20,6 +18,16 @@
2018

2119
- open your browser and type: `http://localhost:7999/internsathi/user/login`
2220

21+
## Login with following credentials:
22+
23+
- Admin:
24+
username: am0007
25+
password: password
26+
27+
- User:
28+
username: am007
29+
password: password
30+
2331
## Point to consider
2432

2533
As this project utilizes SMTP mail sender functionality, it is essential to configure the `mail.username` and `mail.password` fields for sending emails to user email addresses. However, keeping security in mind, it is advisable not to store sensitive information like passwords directly in the application properties. Therefore, I have intentionally left these fields empty, as it is crucial to ensure the safety and privacy of my Google account. Please note that you will need to securely provide valid credentials for these fields to enable the SMTP mail functionality and ensure proper email communication with users. If this property is left empty, you will be kept quiet from resetting the user password. So I recommend adding configuration property in yaml file.

0 commit comments

Comments
 (0)