标签: asp.net-identity asp.net-core-2.0
我想防止同一用户多次登录。我在 ConfigureServices 块中添加了 ValidationInterval 。但不起作用。
我输入了我的代码:
services.Configure<SecurityStampValidatorOptions> ( options => options.ValidationInterval=TimeSpan.FromMinutes(20) );
亲切的问候, 马克苏德