We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d69d7db commit af7e4fcCopy full SHA for af7e4fc
1 file changed
Auth/src/commonMain/kotlin/io/github/jan/supabase/auth/AuthImpl.kt
@@ -602,9 +602,11 @@ internal class AuthImpl(
602
if (status is SessionStatus.NotAuthenticated && sessionStatus.value is SessionStatus.NotAuthenticated) {
603
val currentReason = (sessionStatus.value as SessionStatus.NotAuthenticated).reason
604
if (status.reason is NotAuthenticatedReason.SessionNotFound && currentReason is NotAuthenticatedReason.Error) {
605
+ Auth.logger.d { "Not setting session status to $status as the current reason is an error: $currentReason" }
606
return
607
}
608
609
+ Auth.logger.d { "Setting session status to $status" }
610
_sessionStatus.value = status
611
612
0 commit comments