Switched sensetive requests to post

This commit is contained in:
2021-03-23 12:43:37 +03:00
parent 5681cc42d1
commit 52468d94a6
2 changed files with 14 additions and 13 deletions

View File

@@ -9,14 +9,14 @@
</head>
<body>
<h1>Register</h1>
<form action="http://localhost:3000/register" method="GET">
<form action="http://localhost:3000/register" method="POST">
<span class="input_row">Username: <input name="login" type="text"></span>
<span class="input_row">Password: <input name="pass" type="password"></span>
<input type="submit" value="Register">
</form>
<h1>Login</h1>
<form action="http://localhost:3000/login" method="GET">
<form action="http://localhost:3000/login" method="POST">
<span class="input_row">Username: <input name="login" type="text"></span>
<span class="input_row">Password: <input name="pass" type="password"></span>
<input type="submit" value="Login">