diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e495489..4fe772e 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -4,8 +4,8 @@ spring.datasource.hikari.maximumPoolSize=5 ## PostgreSQL spring.datasource.url=jdbc:postgresql://localhost:5432/wpdauth -spring.datasource.username=uwpdauth -spring.datasource.password= +spring.datasource.username=username +spring.datasource.password=password spring.jpa.hibernate.ddl-auto=none @@ -15,7 +15,14 @@ security.jwt.token.secret-key=secret-key ##5 minutes duration by default: 5 minutes * 60 seconds * 1000 miliseconds security.jwt.token.expire-length=300000 -UsersController.signin=Authenticates user and returns its JWT token. +spring.mail.host=smtp.gmail.com +spring.mail.port=587 +spring.mail.username=username@gmail.com +spring.mail.password=password +spring.mail.properties.mail.smtp.auth=true +spring.mail.properties.mail.smtp.starttls.enable=true + +UsersController.login=Authenticates user and returns its JWT token. UsersController.signup=Creates user and returns its JWT token. UsersController.delete=Deletes specific user by username. UsersController.search=Returns specific user by username.