add exception filter when user not connected default to needing authentication and apply anonymous to some actions add user in get requests add user relation in link, comment and vote signup and in are ok now!
10 lines
140 B
C#
10 lines
140 B
C#
using System;
|
|
using Microsoft.AspNetCore.Identity;
|
|
|
|
namespace HN.Infrastructure
|
|
{
|
|
public sealed class Role : IdentityRole<Guid>
|
|
{
|
|
|
|
}
|
|
} |