File tree Expand file tree Collapse file tree
src/Mobile/eShopOnContainers/eShopOnContainers.Core/ViewModels Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -207,16 +207,15 @@ private void Register()
207207 private void Logout ( )
208208 {
209209 var authIdToken = Settings . AuthIdToken ;
210-
211210 var logoutRequest = _identityService . CreateLogoutRequest ( authIdToken ) ;
212211
213- if ( ! string . IsNullOrEmpty ( logoutRequest ) )
212+ if ( ! string . IsNullOrEmpty ( logoutRequest ) )
214213 {
215214 // Logout
216215 LoginUrl = logoutRequest ;
217216 }
218217
219- if ( Settings . UseMocks )
218+ if ( Settings . UseMocks )
220219 {
221220 Settings . AuthAccessToken = string . Empty ;
222221 Settings . AuthIdToken = string . Empty ;
@@ -244,7 +243,7 @@ private async Task NavigateAsync(string url)
244243
245244 if ( ! string . IsNullOrWhiteSpace ( accessToken ) )
246245 {
247- Settings . AuthAccessToken = authResponse . AccessToken ;
246+ Settings . AuthAccessToken = accessToken ;
248247 Settings . AuthIdToken = authResponse . IdentityToken ;
249248
250249 await NavigationService . NavigateToAsync < MainViewModel > ( ) ;
You can’t perform that action at this time.
0 commit comments