Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Blank Personal Access Token Bug #20193

Merged
merged 2 commits into from
Feb 2, 2021
Merged

Conversation

RonLek
Copy link
Contributor

@RonLek RonLek commented Jan 13, 2021

Proposed changes (including videos or screenshots)

Adds error when personal access token is blank thereby disallowing the creation of one.

Screencast.from.Wednesday.13.January.2021.09.52.53.IST.mp4

Issue(s)

Closes #20192

Steps to test or reproduce

  1. Click on My Account.
  2. Click on Personal Access Tokens.
  3. Click on Add without entering a name for the token.

@RonLek
Copy link
Contributor Author

RonLek commented Jan 13, 2021

Please review :)

@dougfabris
Copy link
Member

@RonLek Hey! Thanks for your help. I think it's nice to have either a UI verification on the personal token field blocking to send the form if the user leaves it blank. Are you interested to improve it?

@dougfabris dougfabris changed the title [FIX] Fixes blank Personal Access Token Bug [FIX] Blank Personal Access Token Bug Jan 19, 2021
@RonLek
Copy link
Contributor Author

RonLek commented Jan 19, 2021

@dougfabris Thanks! Made the change. Please take a look :)

@RonLek
Copy link
Contributor Author

RonLek commented Jan 26, 2021

@dougfabris @ggazzo what do you think of this one? Looks good?

@ggazzo ggazzo merged commit 2d3a956 into RocketChat:develop Feb 2, 2021
@sampaiodiego sampaiodiego mentioned this pull request Feb 28, 2021
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.

[BUG] Blank Personal Access Tokens can be created.
3 participants