mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-03-30 17:45:40 +00:00
show secret and ID
This commit is contained in:
@@ -3539,6 +3539,11 @@ class Localuser {
|
||||
form.addTextInput(I18n.localuser.privacyPolcyURL(), "privacy_policy_url", {
|
||||
initText: json.privacy_policy_url,
|
||||
});
|
||||
form.addText(I18n.localuser.appID(appId));
|
||||
form.addButtonInput("", I18n.localuser.showSecret(), () => {
|
||||
const opt = form.addSubOptions(I18n.localuser.secret());
|
||||
opt.addText(I18n.localuser.clientSecret(json.verify_key));
|
||||
});
|
||||
form.addTextInput(I18n.localuser.TOSURL(), "terms_of_service_url", {
|
||||
initText: json.terms_of_service_url,
|
||||
});
|
||||
|
||||
@@ -469,6 +469,10 @@
|
||||
"oldPassword:": "Old password:",
|
||||
"password:": "Password",
|
||||
"privacyPolcyURL": "Privacy policy URL:",
|
||||
"appID":"Appreciation ID: $1",
|
||||
"showSecret":"Show Client Secret",
|
||||
"clientSecret":"Client Secret: $1",
|
||||
"secret":"Secret",
|
||||
"publicAvaliable": "Make bot publicly inviteable?",
|
||||
"refreshPage": "Refresh to apply",
|
||||
"requireCode": "Require code grant to invite the bot?",
|
||||
|
||||
Reference in New Issue
Block a user