Skip to content

Commit

Permalink
Remove unused import + update error message of SignInContinuationError (
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki-YuXin authored Mar 6, 2024
1 parent bf5c6d8 commit f348bd9
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ import com.microsoft.identity.common.java.nativeauth.util.checkAndWrapCommandRes
import com.microsoft.identity.nativeauth.statemachine.errors.ErrorTypes
import com.microsoft.identity.nativeauth.statemachine.errors.ResendCodeError
import com.microsoft.identity.nativeauth.statemachine.errors.SignInContinuationError
import com.microsoft.identity.nativeauth.statemachine.errors.SignInError
import com.microsoft.identity.nativeauth.statemachine.errors.SignInErrorTypes
import com.microsoft.identity.nativeauth.statemachine.errors.SignInSubmitPasswordError
import com.microsoft.identity.nativeauth.statemachine.errors.SubmitCodeError
Expand Down Expand Up @@ -533,7 +532,7 @@ class SignInContinuationState(
"Sign in after sign up received unexpected result: continuationToken was null"
)
return@withContext SignInContinuationError(
errorMessage = "Sign In is not available through this state, please use the standalone sign in methods (signInWithCode or signInWithPassword).",
errorMessage = "Sign In is not available through this state, please use the standalone sign in method.",
error = ErrorTypes.INVALID_STATE,
correlationId = "UNSET",
)
Expand Down

0 comments on commit f348bd9

Please sign in to comment.