Changeset 37407


Ignore:
Timestamp:
2023-03-05T16:38:24+13:00 (14 months ago)
Author:
davidb
Message:

More careful moitoring of login/logout args to avoid ending up with conflicting googleidentity-signin=1 AND logout= present at the same time

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/login.xsl

    r37391 r37407  
    112112                    <gsf:div id="g_id_onload"
    113113                         data-client_id="{$googlesignin_client_id}"
    114                          data-ux_mode="redirect"
    115                          data-login_uri="{$servletProtocol}:{$baseURL}{$redirectURL}&amp;googleidentity-signin=1">
     114                         data-ux_mode="redirect">
     115                      <xsl:attribute name="data-login_uri">
     116                    <xsl:call-template name="generateGoogleIdentityLoginURL">
     117                      <xsl:with-param name="servletProtocol" select="$servletProtocol"></xsl:with-param>
     118                      <xsl:with-param name="baseURL"         select="$baseURL"></xsl:with-param>
     119                      <xsl:with-param name="redirectURL"     select="$redirectURL"></xsl:with-param>
     120                    </xsl:call-template>
     121                                       
     122                      </xsl:attribute>
     123
     124                     
    116125                    </gsf:div>
     126                   
    117127                    <gsf:div class="g_id_signin" data-type="standard"/>
    118128                   
Note: See TracChangeset for help on using the changeset viewer.