We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41209bf commit c86dfb9Copy full SHA for c86dfb9
examples/cstg/html/index.html
@@ -27,7 +27,7 @@
27
$('#targeted_advertising_ready').text(sdk.getAdvertisingToken() ? 'yes' : 'no');
28
$('#advertising_token').text(String(sdk.getAdvertisingToken()));
29
$('#login_required').text(
30
- sdk.isLoginRequired() || sdk.isLoginRequired() === undefined ? 'yes' : 'no'
+ sdk.noIdentityAvailable() || sdk.noIdentityAvailable() === undefined ? 'yes' : 'no'
31
);
32
$(`#has_opted_out`).text(sdk.hasOptedOut() ? 'yes' : 'no');
33
$('#update_counter').text(callbackCounter);
@@ -37,7 +37,7 @@
37
}
38
39
function updateSharedGuiElements() {
40
- if (getUidSdk().isLoginRequired()) {
+ if (getUidSdk().noIdentityAvailable()) {
41
$('#login_form').show();
42
$('#logout_form').hide();
43
} else {
0 commit comments