More work on Reset Password
This commit is contained in:
@@ -160,6 +160,21 @@
|
||||
<value><p>There is a database upgrade pending that prevents your access to this page. <strong>This is a temporary condition</strong> and the Swarmops servers should already be working on performing the necessary upgrade.</p>
|
||||
<p>Retry loading the page in a few minutes. If the condition persists for more than fifteen minutes, contact your system administrator.</p></value>
|
||||
</data>
|
||||
<data name="LockdownAccount_Failed" xml:space="preserve">
|
||||
<value>The account <strong>was not locked down</strong>. There is no such account, or the ticket was invalid or too old. If you still want to lock down this account, contact the administrators of this Swarmops installation.</value>
|
||||
</data>
|
||||
<data name="LockdownAccount_Info" xml:space="preserve">
|
||||
<value>If you're seeing this page, you're trying to lock down a user account for security reasons. If the link was valid and hasn't expired, the account is already locked down.</value>
|
||||
</data>
|
||||
<data name="LockdownAccount_PageTitle" xml:space="preserve">
|
||||
<value>User Account Lockdown</value>
|
||||
</data>
|
||||
<data name="LockdownAccount_Success" xml:space="preserve">
|
||||
<value>The account has been <strong>successfully locked down</strong> and any active sessions are now terminated.</value>
|
||||
</data>
|
||||
<data name="LockdownAccount_Ticket" xml:space="preserve">
|
||||
<value>Lockdown Ticket</value>
|
||||
</data>
|
||||
<data name="Login_BitIdEnabled" xml:space="preserve">
|
||||
<value><strong>BitId two-factor authentication is now enabled.</strong><br/><br/>From now on, you can use your bitcoin wallet to log in (and will <strong>need</strong> to do so). Thank you for enabling added security.<br/><br/>Please remember to keep your phone secure with a password, too.</value>
|
||||
</data>
|
||||
@@ -199,4 +214,40 @@
|
||||
<data name="Login_Username" xml:space="preserve">
|
||||
<value>User</value>
|
||||
</data>
|
||||
<data name="ResetPassword_Email" xml:space="preserve">
|
||||
<value>Reset password for mail address</value>
|
||||
</data>
|
||||
<data name="ResetPassword_Failed" xml:space="preserve">
|
||||
<value>There is no valid password reset ticket for this email address, the address does not exist, the password reset ticket is invalid, or it has expired. Password reset failed.</value>
|
||||
</data>
|
||||
<data name="ResetPassword_Info" xml:space="preserve">
|
||||
<value>You're resetting the password for a user account. Enter your new password twice to set it and login.</value>
|
||||
</data>
|
||||
<data name="ResetPassword_NoEmpty" xml:space="preserve">
|
||||
<value>The new password cannot be empty.</value>
|
||||
</data>
|
||||
<data name="ResetPassword_PageTitle" xml:space="preserve">
|
||||
<value>Reset Password</value>
|
||||
</data>
|
||||
<data name="ResetPassword_Password" xml:space="preserve">
|
||||
<value>New Password</value>
|
||||
</data>
|
||||
<data name="ResetPassword_PasswordRepeat" xml:space="preserve">
|
||||
<value>Repeat New Password</value>
|
||||
</data>
|
||||
<data name="ResetPassword_RequestInfo" xml:space="preserve">
|
||||
<value>You may reset the password associated with an email address. A link with a ticket code will be sent to that email address, which you must follow to reset your password.</value>
|
||||
</data>
|
||||
<data name="ResetPassword_Reset" xml:space="preserve">
|
||||
<value>Reset</value>
|
||||
</data>
|
||||
<data name="ResetPassword_Success" xml:space="preserve">
|
||||
<value>Your password was changed and you have been logged in to Swarmops using your new password.</value>
|
||||
</data>
|
||||
<data name="ResetPassword_Ticket" xml:space="preserve">
|
||||
<value>Ticket</value>
|
||||
</data>
|
||||
<data name="ResetPassword_TicketSentMaybe" xml:space="preserve">
|
||||
<value>If the email was associated with an account on this Swarmops installation, a reset ticket has now been sent. Open that mail and click the link in the mail to reset your password. (If the email did not exist, nothing was sent.)<br/><br/>You may close this browser tab. It is not needed anymore.</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -1,4 +1,4 @@
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Swarmops.Pages.Security.RequestPasswordReset" %>
|
||||
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RequestPasswordReset.aspx.cs" Inherits="Swarmops.Pages.Security.RequestPasswordReset" %>
|
||||
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
@@ -58,9 +58,19 @@
|
||||
<div class="mainbar">
|
||||
<div class="box">
|
||||
<div class="content">
|
||||
|
||||
<h2><asp:Label ID="LabelHeader" runat="server" Text="XYZ Login with blockchain technology (BitID)" /></h2>
|
||||
<div align="center"><asp:Image ID="ImageBitIdQr" runat="server"/></div>
|
||||
<h2><asp:Label ID="LabelContentTitle" runat="server" /></h2>
|
||||
<div id="DivEmail">
|
||||
<div class="entryFields">
|
||||
<asp:TextBox runat="server" ID="TextEmail" />​<br/>
|
||||
<!-- button -->
|
||||
</div>
|
||||
<div class="entryLabels">
|
||||
<asp:Label ID="LabelMail" runat="server" /><br />
|
||||
</div>
|
||||
</div>
|
||||
<div id="DivSuccessMaybe">
|
||||
<asp:Label ID="LabelSuccessMaybe" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -86,18 +96,6 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<asp:Panel ID="PanelCheat" runat="server" Visible="false">
|
||||
<h2 class="blue">Dev's Cheat Button<span class="arrow"></span></h2>
|
||||
|
||||
<div class="box">
|
||||
<div class="content" style="line-height: 14px">
|
||||
<p>Since we're running on localhost, on a nonstandard port, with a debugger attached, and under Windows, this is clearly not a production environment. Since it's unlikely that the outside Internet has access to this machine, which means you can't login with BitID, a cheat button has been provided for you.</p><p>Press the button below to log on as Sandbox Administrator.</p>
|
||||
|
||||
<div align="right"><asp:Button ID="ButtonCheat" runat="server" OnClick="ButtonCheat_Click" Text="Cheat Button" /></div>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Panel>
|
||||
|
||||
<h2 class="orange"><asp:Label ID="LabelSidebarHelpHeader" runat="server" /><span class="arrow"></span></h2>
|
||||
|
||||
<div class="box">
|
||||
|
||||
Reference in New Issue
Block a user