Feature: Password Reset Functionality #4

Merged
ChrisChrome merged 35 commits from dev into main 2025-11-21 22:33:23 -07:00
Showing only changes of commit 0a38ac6035 - Show all commits

View file

@ -10,6 +10,8 @@ module.exports.execute = async (interaction) => {
await interaction.reply({ content: `We're sorry, It doesn't look like you have an extension!`, ephemeral: true });
return;
}
const extData = await fpbx.getExtension(lookup.extension); // Verify extension exists
console.log(extData)
await interaction.deferReply({ ephemeral: true });
// console.log(JSON.stringify(interaction, null, 2));
const newPassword = interaction.fields.getTextInputValue('newPassword');