Skip to content

Conversation

@xyhhx
Copy link

@xyhhx xyhhx commented Nov 22, 2025

@DaniilKl DaniilKl requested a review from m-iwanicki November 24, 2025 09:05
echo ""
read -p "Enter password: " 'DPP_PASSWORD'

if [[ -z "${DPP_PASSWORD}" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The same problem happens when e-mail is empty, I forgot to mention it in issue.

Add another, separate check for e-mail just after entering it. That way E2E007.005 Check empty e-mail should not pass and E2E007.006 Check empty password should not pass should both pass

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see you added 98ad37f, please move check between e-mail and password input:

  read -p "Enter DPP email: " 'DPP_EMAIL'
  echo ""

  if [[ -z "${DPP_EMAIL}" ]]; then
    print_error "No email address was provided."
    return 1
  fi

  read -p "Enter password:    " 'DPP_PASSWORD'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DTS: Entering empty password results in UI bugs

2 participants