Files
SocialPub/PrivaPub/Web/Pages/OAuth/Login.cshtml
T

18 lines
728 B
Plaintext
Raw Normal View History

@page "/oauth/login"
@model PrivaPub.Web.Pages.OAuth.LoginModel
@{
ViewData["Title"] = "Sign in";
}
<header><h1>Sign in to PrivaPub</h1></header>
<p class="meta">Sign in with your private login. You will then choose which persona the application acts as; the
application never sees the login.</p>
<form method="post">
<input type="hidden" name="ReturnUrl" value="@Model.ReturnUrl">
<p><label>Username<br><input name="UserName" autocomplete="username" required autofocus></label></p>
<p><label>Password<br><input name="Password" type="password" autocomplete="current-password" required></label></p>
@if (Model.Error != default)
{
<p role="alert">@Model.Error</p>
}
<p><button type="submit">Sign in</button></p>
</form>