mirror of
https://gitlab.com/etc404/software-engineering-project.git
synced 2026-05-10 20:52:58 +00:00
Fixed redirect-on-login.
This commit is contained in:
@@ -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());
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user