fix: sign_upに対するCSRF保護を追加

This commit is contained in:
usbharu 2023-09-26 13:01:17 +09:00
parent c916897874
commit b2c41d11bf
1 changed files with 2 additions and 2 deletions

View File

@ -1,12 +1,12 @@
<!DOCTYPE html>
<html lang="ja">
<html lang="ja" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>SignUp</title>
</head>
<body>
<form action='/api/v1/accounts' method='post'>
<form method='post' th:action="@{/api/v1/accounts}">
<input name='username' type='text' value=''>
<input name='password' type='password'>
<input type="submit">