fix POST requests to DELETE and PUT and fix double-free password in change_user.c
This commit is contained in:
1 parent
9c3a8d796a
commit
7d04b0078f
12 files changed
+57
-35
No files matched your search
@@ -5,7 +5,28 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>fmongoose</title>
|
||||
</head>
|
||||
<style>
|
||||
.login-form {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-width: 200px;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<h1>it's work</h1>
|
||||
<div class="login-form" style="display:flex;flex-direction:column;max-width:200px;">
|
||||
<h2>Login</h2>
|
||||
<label for="username_input">Username</label>
|
||||
<input type="text" id="username_input">
|
||||
<label for="password_input">Password</label>
|
||||
<input type="password" id="password_input">
|
||||
</div>
|
||||
<script>
|
||||
console.log("hello world");
|
||||
const username_input = document.querySelector("#username_input");
|
||||
const password_input = document.querySelector("#password_input");
|
||||
console.log(username_input, password_input);
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user