Skip to content

Commit 14977a8

Browse files
committed
Skip session check for white label methods
1 parent f3b05a0 commit 14977a8

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Runtime/Game/LootLockerSDKManager.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ public static void EndSession(string deviceId, Action<LootLockerSessionResponse>
477477
/// </summary>
478478
public static void WhiteLabelLogin(string email, string password, Action<LootLockerWhiteLabelLoginResponse> onComplete)
479479
{
480-
if (!CheckInitialized())
480+
if (!CheckInitialized(true))
481481
{
482482
onComplete?.Invoke(LootLockerResponseFactory.SDKNotInitializedError<LootLockerWhiteLabelLoginResponse>());
483483
return;
@@ -494,7 +494,7 @@ public static void WhiteLabelLogin(string email, string password, Action<LootLoc
494494

495495
public static void WhiteLabelLogin(string email, string password, bool remember, Action<LootLockerWhiteLabelLoginResponse> onComplete)
496496
{
497-
if (!CheckInitialized())
497+
if (!CheckInitialized(true))
498498
{
499499
onComplete?.Invoke(LootLockerResponseFactory.SDKNotInitializedError<LootLockerWhiteLabelLoginResponse>());
500500
return;
@@ -523,7 +523,7 @@ public static void WhiteLabelLogin(string email, string password, bool remember,
523523
/// </summary>
524524
public static void WhiteLabelSignUp(string email, string password, Action<LootLockerWhiteLabelSignupResponse> onComplete)
525525
{
526-
if (!CheckInitialized())
526+
if (!CheckInitialized(true))
527527
{
528528
onComplete?.Invoke(LootLockerResponseFactory.SDKNotInitializedError<LootLockerWhiteLabelSignupResponse>());
529529
return;
@@ -545,7 +545,7 @@ public static void WhiteLabelSignUp(string email, string password, Action<LootLo
545545
/// </summary>
546546
public static void WhiteLabelRequestPassword(string email, Action<LootLockerResponse> onComplete)
547547
{
548-
if (!CheckInitialized())
548+
if (!CheckInitialized(true))
549549
{
550550
onComplete?.Invoke(LootLockerResponseFactory.SDKNotInitializedError<LootLockerResponse>());
551551
return;
@@ -562,7 +562,7 @@ public static void WhiteLabelRequestPassword(string email, Action<LootLockerResp
562562
/// </summary>
563563
public static void WhiteLabelRequestVerification(int userID, Action<LootLockerResponse> onComplete)
564564
{
565-
if (!CheckInitialized())
565+
if (!CheckInitialized(true))
566566
{
567567
onComplete?.Invoke(LootLockerResponseFactory.SDKNotInitializedError<LootLockerResponse>());
568568
return;

0 commit comments

Comments
 (0)