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

This commit is contained in:
usbharu 2023-09-26 13:01:17 +09:00
parent 175e43830d
commit 970d0ec062
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
1 changed files with 2 additions and 2 deletions

View File

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