Skip to content

Commit 912bd2a

Browse files
authored
Add missing method for Privacy view (#678)
* Add missing method for Privacy view in samples
1 parent fc67a1d commit 912bd2a

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

1-WebApp-OIDC/1-1-MyOrg/Controllers/HomeController.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ public IActionResult Index()
2222
return View();
2323
}
2424

25+
public IActionResult Privacy()
26+
{
27+
return View();
28+
}
29+
2530
[AllowAnonymous]
2631
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
2732
public IActionResult Error()

1-WebApp-OIDC/1-3-AnyOrgOrPersonal/Controllers/HomeController.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ public IActionResult Index()
1717
return View();
1818
}
1919

20+
public IActionResult Privacy()
21+
{
22+
return View();
23+
}
24+
2025
[AllowAnonymous]
2126
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
2227
public IActionResult Error()

1-WebApp-OIDC/1-4-Sovereign/Controllers/HomeController.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ public IActionResult Index()
1717
return View();
1818
}
1919

20+
public IActionResult Privacy()
21+
{
22+
return View();
23+
}
24+
2025
[AllowAnonymous]
2126
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
2227
public IActionResult Error()

0 commit comments

Comments
 (0)