equal
deleted
inserted
replaced
137 TLSLOG(KSenCoreServiceManagerLogChannelBase , KMinLogLevel,(_L("----- if WSOviResponse::KErrorCodeUnauthorized()"))); |
137 TLSLOG(KSenCoreServiceManagerLogChannelBase , KMinLogLevel,(_L("----- if WSOviResponse::KErrorCodeUnauthorized()"))); |
138 if (!pCtx.GetSenRemoteServiceSessionL(WSOviContextKeys::KServiceSession)) |
138 if (!pCtx.GetSenRemoteServiceSessionL(WSOviContextKeys::KServiceSession)) |
139 { |
139 { |
140 pCtx.Add(WSOviContextKeys::KServiceSession, *(MSenRemoteServiceSession*)remoteServiceSession); |
140 pCtx.Add(WSOviContextKeys::KServiceSession, *(MSenRemoteServiceSession*)remoteServiceSession); |
141 } |
141 } |
142 pCtx.Update(WSOviContextKeys::KReAuthNeeded, ETrue); |
142 if( ! errFragment->Text().Compare(WSOviResponse::KEmailUsed()) || |
|
143 (errFragment->Text().Compare(WSOviResponse::KMobileUsed1)!= KErrNotFound && |
|
144 errFragment->Text().Compare(WSOviResponse::KMobileUsed2) != KErrNotFound ) |
|
145 ) |
|
146 { |
|
147 pCtx.Update(WSOviContextKeys::KRetryNeeded, EFalse); |
|
148 } |
|
149 else |
|
150 { |
|
151 pCtx.Update(WSOviContextKeys::KReAuthNeeded, ETrue); |
|
152 } |
|
153 |
143 oviServiceSession->ClearCredentialL(); |
154 oviServiceSession->ClearCredentialL(); |
144 oviServiceSession->SetStatusL();//in order to compute state |
155 oviServiceSession->SetStatusL();//in order to compute state |
145 } |
156 } |
146 else |
157 else |
147 { |
158 { |