wavezync / vue3-google-signin

Google OAuth2 plugin for Vue3 Apps. This uses latest Google Identity Service Library. It also provides set of composables which can be used easily to implement different authentication strategies
https://vue3-google-signin.wavezync.com/
MIT License
161 stars 18 forks source link

Add check for environment before debug logging #54

Closed oliver-youdooh closed 1 year ago

oliver-youdooh commented 1 year ago

This PR adds a check for the node env before outputting a console log when a callback is called.

Why? Currently this debug is called in all environments, including production.

kasvith commented 1 year ago

@oliver-youdooh thank you for PR

shall we remove this completely? i think that make more sense

oliver-youdooh commented 1 year ago

Agreed, happy to remove it! It may have been leftover during development.

kasvith commented 1 year ago

thanks @oliver-youdooh