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());
|
||||||
|
|||||||
@@ -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