Merge pull request #1344 from delroth/google-popup

web: disable Sign in with Google popup
This commit is contained in:
John Ericson 2024-01-25 16:36:16 -05:00 committed by GitHub
commit 083ef46c12
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -134,7 +134,7 @@
[% WRAPPER makeSubMenu title="Sign in" id="sign-in-menu" align="right" %] [% WRAPPER makeSubMenu title="Sign in" id="sign-in-menu" align="right" %]
[% IF c.config.enable_google_login %] [% IF c.config.enable_google_login %]
<script src="https://accounts.google.com/gsi/client" async defer></script> <script src="https://accounts.google.com/gsi/client" async defer></script>
<div id="g_id_onload" data-client_id="[% c.config.google_client_id %]" data-callback="onGoogleSignIn"> <div id="g_id_onload" data-client_id="[% c.config.google_client_id %]" data-auto_prompt="false" data-callback="onGoogleSignIn">
</div> </div>
<div class="g_id_signin" data-type="standard"></div> <div class="g_id_signin" data-type="standard"></div>
<div class="dropdown-divider"></div> <div class="dropdown-divider"></div>