diff --git a/.github/workflows/add-issues-to-project.yml b/.github/workflows/add-issues-to-project.yml deleted file mode 100644 index 8811c0c..0000000 --- a/.github/workflows/add-issues-to-project.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Add bugs to bugs project - -on: - issues: - types: - - opened - - labeled - -jobs: - check-secret: - runs-on: ubuntu-latest - outputs: - my-key: ${{ steps.my-key.outputs.defined }} - steps: - - id: my-key - if: "${{ env.MY_KEY != '' }}" - run: echo "::set-output name=defined::true" - env: - MY_KEY: ${{ secrets.PROJECT_URL }} - throw-error: - name: Check - runs-on: ubuntu-latest - needs: [check-secret] - if: needs.check-secret.outputs.my-key != 'true' - steps: - - run: echo "The Project URL Repo Secret is empty" - add-to-project: - name: Add issue to project - runs-on: ubuntu-latest - needs: [check-secret] - if: needs.check-secret.outputs.my-key == 'true' - steps: - - uses: actions/add-to-project@main - with: - project-url: ${{ secrets.PROJECT_URL }} - github-token: ${{ secrets.GH_PROJECTS_PASSWORD }} - diff --git a/Pepperdash Core/Pepperdash Core/PasswordManagement/PasswordClient.cs b/Pepperdash Core/Pepperdash Core/PasswordManagement/PasswordClient.cs index e286733..f965dfa 100644 --- a/Pepperdash Core/Pepperdash Core/PasswordManagement/PasswordClient.cs +++ b/Pepperdash Core/Pepperdash Core/PasswordManagement/PasswordClient.cs @@ -121,6 +121,17 @@ namespace PepperDash.Core.PasswordManagement OnBoolChange(false, (ushort)PasswordToValidate.Length, PasswordManagementConstants.PasswordLedFeedbackChange); } + /// + /// Deletes the last character in the currently entered password field + /// + public void DeletePasswordCharacter() + { + ushort PasswordLengthBeforeDelete = (ushort)PasswordToValidate.Length; + PasswordToValidate = PasswordToValidate.Substring(0, PasswordToValidate.Length - 1); + OnBoolChange(false, (ushort)PasswordLengthBeforeDelete, PasswordManagementConstants.PasswordLedFeedbackChange); + // Verify if OnStringChange is needed to update the S+ wrapper with the entered PasswordToValidate + } + /// /// Protected boolean change event handler ///