From 1eb882d2123aafe692f571d3ff3c8e7e9f2c300d Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Wed, 1 Feb 2017 04:50:24 +0100 Subject: [PATCH] cleaning --- Yavsc/Startup/Startup.OAuth.cs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Yavsc/Startup/Startup.OAuth.cs b/Yavsc/Startup/Startup.OAuth.cs index 5d8e4a70..c5677a10 100644 --- a/Yavsc/Startup/Startup.OAuth.cs +++ b/Yavsc/Startup/Startup.OAuth.cs @@ -145,12 +145,6 @@ namespace Yavsc var service = serviceScope.ServiceProvider.GetService(); await service.StoreTokenAsync(gcontext.GoogleUserId, context.TokenResponse); - // var user = service.Users.First(u=>u.Id == gcontext.Principal.GetUserId()); - // logger.LogWarning(user.UserName); - // logger.LogWarning(context.User.ToString()); - logger.LogWarning( - string.Join(" ", - gcontext.Identity.Claims.Select(c=>c.Value).ToArray())); } } }