set password box to be a password box
This commit is contained in:
@@ -1725,7 +1725,9 @@ class Localuser {
|
|||||||
I18n.localuser.areYouSureDelete(I18n.localuser.sillyDeleteConfirmPhrase()),
|
I18n.localuser.areYouSureDelete(I18n.localuser.sillyDeleteConfirmPhrase()),
|
||||||
"shrek",
|
"shrek",
|
||||||
);
|
);
|
||||||
const password = deleteAccount.addTextInput(I18n.localuser["password:"](), "password");
|
const password = deleteAccount.addTextInput(I18n.localuser["password:"](), "password", {
|
||||||
|
password: true,
|
||||||
|
});
|
||||||
deleteAccount.addPreprocessor((obj) => {
|
deleteAccount.addPreprocessor((obj) => {
|
||||||
if ("shrek" in obj) {
|
if ("shrek" in obj) {
|
||||||
if (obj.shrek !== I18n.localuser.sillyDeleteConfirmPhrase()) {
|
if (obj.shrek !== I18n.localuser.sillyDeleteConfirmPhrase()) {
|
||||||
|
Reference in New Issue
Block a user