web: disable Sign in with Google popup

This commit is contained in:
Pierre Bourdon 2024-01-25 09:27:46 +01:00
parent cc50fdff6f
commit 6df06b089e
Signed by: delroth
GPG key ID: 6FB80DCD84DA0F1C

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>