mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Make Reset account functional
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<form action="javascript:void(0);" class="flex-container flexFlowColumn">
|
||||
<div class="currentPasswordBlock">
|
||||
<label data-i18n="Current Password:" for="user">Current Password:</label>
|
||||
<input type="text" name="current" class="text_pole" placeholder="[ No password ]" autocomplete="current-password">
|
||||
<input type="password" name="current" class="text_pole" placeholder="[ No password ]" autocomplete="current-password">
|
||||
</div>
|
||||
<div class="newPasswordBlock">
|
||||
<label data-i18n="New Password:" for="password">New Password:</label>
|
||||
|
@@ -77,7 +77,7 @@
|
||||
<i class="fa-fw fa-solid fa-cog warning"></i>
|
||||
<span data-i18n="Reset Settings">Reset Settings</span>
|
||||
</div>
|
||||
<div class="userResetAllButton menu_button menu_button_icon disabled" title="Wipe all user data and reset your account to factory settings.">
|
||||
<div class="userResetAllButton menu_button menu_button_icon" title="Wipe all user data and reset your account to factory settings.">
|
||||
<i class="fa-fw fa-solid fa-skull warning"></i>
|
||||
<span data-i18n="Reset Everything">Reset Everything</span>
|
||||
</div>
|
||||
|
18
public/scripts/templates/userReset.html
Normal file
18
public/scripts/templates/userReset.html
Normal file
@@ -0,0 +1,18 @@
|
||||
<form action="javascript:void(0);" class="flex-container flexFlowColumn">
|
||||
<h3 class="neutral_warning">
|
||||
This will delete all your settings and data. There will be no undo button.
|
||||
Make sure you have a backup before proceeding.
|
||||
</h3>
|
||||
<hr>
|
||||
<div>
|
||||
Account reset code has been posted to the server console.
|
||||
</div>
|
||||
<div class="currentPasswordBlock">
|
||||
<label data-i18n="Current Password:" for="user">Current Password:</label>
|
||||
<input type="password" name="password" class="text_pole" placeholder="[ No password ]" autocomplete="current-password">
|
||||
</div>
|
||||
<div class="resetCodeBlock">
|
||||
<label data-i18n="Reset Code:" for="password">Reset Code:</label>
|
||||
<input type="text" name="code" class="text_pole" placeholder="XXXX">
|
||||
</div>
|
||||
</form>
|
Reference in New Issue
Block a user