SHARE
TWEET

Untitled

a guest Nov 29th, 2018 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Task<IActionResult> Login(string userName) {
  2.     var account = await _db.FindByUserNameAsync(userName);
  3.     if (account != null) {
  4.     Response
  5.     .Cookies
  6.     .Append
  7.     (userName,
  8.     account.ExternalId);
  9.  }
  10. return Ok();
  11. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top