mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-06-03 22:52:27 +00:00
38 lines
No EOL
1.3 KiB
Text
38 lines
No EOL
1.3 KiB
Text
@page "/login/setEmail"
|
|
@using LBPUnion.ProjectLighthouse.Configuration
|
|
@using LBPUnion.ProjectLighthouse.Localization.StringLists
|
|
@model LBPUnion.ProjectLighthouse.Servers.Website.Pages.Email.SetEmailForm
|
|
|
|
@{
|
|
Layout = "Layouts/BaseLayout";
|
|
Model.Title = "Set an Email Address";
|
|
}
|
|
|
|
<p>This instance requires email verification. As your account was created before this was a requirement, you must now set an email for your account before continuing.</p>
|
|
|
|
@if (!string.IsNullOrWhiteSpace(Model.Error))
|
|
{
|
|
<div class="ui negative message">
|
|
<div class="header">
|
|
@Model.Translate(GeneralStrings.Error)
|
|
</div>
|
|
<p style="white-space: pre-line">@Model.Error</p>
|
|
</div>
|
|
}
|
|
|
|
<form class="ui form" onsubmit="return onSubmit(this)" method="post">
|
|
@Html.AntiForgeryToken()
|
|
|
|
@if (ServerConfiguration.Instance.Mail.MailEnabled)
|
|
{
|
|
<div class="field">
|
|
<label>Please type a valid email address and verify it:</label>
|
|
<div class="ui left icon input">
|
|
<input type="email" name="emailAddress" id="emailAddress" placeholder="Email Address">
|
|
<i class="mail icon"></i>
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
<input type="submit" value="Verify Email Address" id="submit" class="ui blue button">
|
|
</form> |