Skip to content

Commit 8cf6518

Browse files
authored
Merge pull request #224 from ITU-BDSA2024-GROUP10/add-identity-core
Added Authentication and Authorization to app
2 parents 55154f0 + c7c7ec5 commit 8cf6518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Chirp/src/Chirp.Web/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@
6262

6363
app.UseHttpsRedirection();
6464
app.UseStaticFiles();
65-
6665
app.UseRouting();
67-
66+
app.UseAuthentication();
67+
app.UseAuthorization();
6868
app.MapRazorPages();
6969

7070
app.Run();

0 commit comments

Comments
 (0)