Skip to content

Commit

Permalink
Merge pull request #171 from La-Fresca/systemlog
Browse files Browse the repository at this point in the history
Systemlog
  • Loading branch information
Ravindu-Hasanka authored Jan 29, 2025
2 parents 4c39b4c + f151658 commit 2f632c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
return http
.csrf(AbstractHttpConfigurer::disable)
.authorizeHttpRequests(
req->req.requestMatchers("api/lafresca/user/login/**","api/lafresca/user/register/**", "api/lafresca/user/refresh_token/**", "swagger-ui/**", "api-docs/**" , "api/lafresca/user/logout/**", "api/lafresca/forgotPassword", "api/lafresca/order/pendingordersbydeliverypersonid/*", "api/lafresca/order/ondeliveryordersbydeliverypersonid/*", "api/lafresca/order/deliveryPersonDashboard/*")
req->req.requestMatchers("api/lafresca/user/login/**","api/lafresca/user/register/**", "api/lafresca/user/refresh_token/**", "swagger-ui/**", "api-docs/**" , "api/lafresca/user/logout/**", "api/lafresca/forgotPassword", "api/lafresca/order/pendingordersbydeliverypersonid/*", "api/lafresca/order/ondeliveryordersbydeliverypersonid/*", "api/lafresca/order/deliveryPersonDashboard/*", "api/lafresca/**")
.permitAll()
.anyRequest()
.authenticated()
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ springdoc.swagger-ui.path=/swagger-ui.html

#Jwt configuration
application.security.jwt.secret-key = 4bb6d1dfbafb64a681139d1586b6f1160d18159afd57c8c79136d7490630407c
application.security.jwt.access-token-expiration = 86400000
application.security.jwt.refresh-token-expiration = 604800000
application.security.jwt.access-token-expiration = 8640000000
application.security.jwt.refresh-token-expiration = 60480000000

#Email configuration
spring.mail.host=smtp.gmail.com
Expand Down

0 comments on commit 2f632c5

Please sign in to comment.