North-Seattle-College / ad440-winter2020-thursday-repo

Repository for AD440 Thursday Class in Winter 2020
Apache License 2.0
10 stars 5 forks source link

Cognito User Deletion Lack of Feedback #236

Closed YunFSui closed 4 years ago

YunFSui commented 4 years ago

When user is successfully deleted the script does not give any feedback that the user is deleted.

(Also, if possible, maybe added an extra step like require to type the user name again, to avoid accidental deletion)

kyleo83 commented 4 years ago

I added a message for when the user is successfully deleted, successfully not deleted (user changes mind), an error message if an error occurs and the response for anything else.

I also added a check so that the user must enter 'y' or 'yes' to confirm delete user. If any other key is pressed the user is not deleted.

YunFSui commented 4 years ago

test and it work as expected, nice!