Skip to content

Handle invalid Client ID/Secret#668

Merged
Rigellute merged 5 commits into
Rigellute:masterfrom
aokellermann:InvalidClientInput
Jan 27, 2021
Merged

Handle invalid Client ID/Secret#668
Rigellute merged 5 commits into
Rigellute:masterfrom
aokellermann:InvalidClientInput

Conversation

@aokellermann
Copy link
Copy Markdown
Contributor

Changes

  • Asks user for Client ID/Secret until a valid input is entered (32 hex digits)

This makes it such that the config file is not written unless valid inputs are entered, so the user will not have to manually edit or delete the config file.

Copy link
Copy Markdown
Owner

@Rigellute Rigellute left a comment

Choose a reason for hiding this comment

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

So sorry for the extremely late review. This looks great! Thank you 👍

@Rigellute Rigellute merged commit 1060fac into Rigellute:master Jan 27, 2021
@Rigellute
Copy link
Copy Markdown
Owner

@all-contributors please add @aokellermann for code

@allcontributors
Copy link
Copy Markdown
Contributor

@Rigellute

I've put up a pull request to add @aokellermann! 🎉

lanej pushed a commit to lanej/spotify-tui that referenced this pull request Jul 13, 2021
* Implemented client id/secret validation

* Abstract out common function

* Fix

* Implemented error

* Address clippy
nighi pushed a commit to nighi/spotify-tui that referenced this pull request Jul 11, 2025
* Implemented client id/secret validation

* Abstract out common function

* Fix

* Implemented error

* Address clippy
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.

2 participants