Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
chore: logout user on receiving mismatch email error from server (#1823)
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedbashir authored Feb 16, 2024
1 parent 8773d75 commit a07db33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/NSError+JSON.swift
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ enum APIErrorCode: String, CaseIterable {
case JWTMustIncludePreferredClaim = "JWT must include a preferred_username or username claim!"
case JWTUserRetrievalFailed = "User retrieval failed."
case JWTUserDisabled = "account_disabled"
case JWTEMailMissMatch = "Failing JWT authentication due to jwt user email mismatch with lms user email."

var action: APIErrorCodeAction {
switch self {
Expand Down

0 comments on commit a07db33

Please sign in to comment.