Fixed redirect-on-login.

This commit is contained in:
etc404
2026-03-11 11:28:18 -06:00
parent dd55101486
commit de1d5549b4
2 changed files with 3 additions and 4 deletions
@@ -23,7 +23,7 @@ public class SecurityConfig {
) )
.formLogin(form -> form .formLogin(form -> form
.loginPage("/login") .loginPage("/login")
// .defaultSuccessUrl("/", true) .defaultSuccessUrl("/", true)
.permitAll() .permitAll()
) )
.logout(logout -> logout.permitAll()); .logout(logout -> logout.permitAll());
+2 -3
View File
@@ -7,7 +7,7 @@
</head> </head>
<body> <body>
<header class="top-header"> <header class="top-header">
<img src="images/header_left.png" alt="Violin f-hole shape to the left of header." class="swirl"> <img src="images/header_left.png" alt="Violin f-hole shape to the left of header." class="swirl">
<h1 class="site-name">Thyme Crunch</h1> <h1 class="site-name">Thyme Crunch</h1>
<img src="images/header_right.png" alt="Violin f-hole shape to the right of header." class="swirl"> <img src="images/header_right.png" alt="Violin f-hole shape to the right of header." class="swirl">
@@ -36,6 +36,5 @@
<h3> OR <a href="create-account.html"><b>SIGN UP</b></a> FOR AN ACCOUNT </h3> <h3> OR <a href="create-account.html"><b>SIGN UP</b></a> FOR AN ACCOUNT </h3>
</div> </div>
</main> </main>
</div> </body>
</body>
</html> </html>