23 lines
763 B
Plaintext
23 lines
763 B
Plaintext
@page "/Login"
|
|
@using Authinator.Backend.Utils
|
|
@using Authinator.Backend.Database
|
|
@using Authinator.Backend.Database.Tables
|
|
@using System.Web
|
|
@model LoginModel
|
|
@{
|
|
ViewData["Title"] = "Log in";
|
|
}
|
|
|
|
<h1 class="display-6">Log in</h1>
|
|
<form method="POST" class="border rounded px-3 py-3">
|
|
<div class="mb-3">
|
|
<label for="username" class="form-label">Username</label>
|
|
<input class="form-control" type="text" id="username" name="username" placeholder="" required/>
|
|
</div>
|
|
<div class="mb-3">
|
|
<label for="password" class="form-label">Password</label>
|
|
<input class="form-control" type="password" id="password" name="password" placeholder="" required/>
|
|
</div>
|
|
<button class="btn btn-primary" type="submit" name="action" value="login">Submit</button>
|
|
</form>
|