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

Admin Token Fix #167

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Admin Token Fix #167

wants to merge 2 commits into from

Conversation

ouckah
Copy link
Collaborator

@ouckah ouckah commented Apr 17, 2024

There was a strange bug where an admin user signed into the admin dashboard before logging into Linkedin and had an invalid token. Fixed this by "arrayizing" the tokens when they are present!

Bug Fix
client/src/util/tokenUtils.js - Instead of checking for specific tokens, stored the token keys in an array and handled them iteratively.

LONG LIVE PIPELINES! 🚀

@ouckah ouckah added the bug Something isn't working label Apr 17, 2024
@ouckah ouckah requested a review from Lewin-B April 17, 2024 02:30
@ouckah ouckah self-assigned this Apr 17, 2024
Copy link

netlify bot commented Apr 17, 2024

Deploy Preview for pipelineslol ready!

Name Link
🔨 Latest commit 6cb4ed3
🔍 Latest deploy log https://app.netlify.com/sites/pipelineslol/deploys/66200269c48f78000839b9c8
😎 Deploy Preview https://deploy-preview-167--pipelineslol.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant