auth0 / lock-passwordless

Auth0 Lock Passwordless [DEPRECATED]
MIT License
90 stars 29 forks source link

Wanted to change the wording of big social buttons #116

Closed wrjanan closed 7 years ago

wrjanan commented 7 years ago

Found that the big social buttons are hard coded with line 31855 : 'LOGIN WITH '

I want it to be something else, took quite awhile to solve this, so in the end, implemented a client side fix using javascript.

            var facebookSocial = document.getElementsByClassName('auth0-lock-social-button-text')[0];
            facebookSocial.innerText = "SIGN IN WITH FACEBOOK";

Hope this helps someone out there too! Remember to load this code block only when site is loaded.

Cheers to all, thank you auth0 for an amazing module!! :D

wrjanan commented 7 years ago

I just realised that @thameera has solved it here #115