Skip to content

Commit a23090e

Browse files
vpavicrwinch
authored andcommitted
Fix "Find by Username" sample
Spring Boot's auto-configuration support for Spring Session now uses RedisSessionRepository as the default Redis session repository, so applications that rely on indexed session repository need to opt into the previous default. One such example is our "Find by Username" sample. This commit fixes "Find by Username" sample by opting into the indexed repository type using newly introduced spring.session.redis.repository-type property.
1 parent beaca53 commit a23090e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
spring.security.user.password=password
2+
spring.session.redis.repository-type=indexed

0 commit comments

Comments
 (0)