set password box to be a password box
This commit is contained in:
parent
4d0db12b2f
commit
f5eaea563a
1 changed files with 3 additions and 1 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue