mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 22:17:22 +01:00
Mare 0.9 (#27)
* add jwt expiry * update api * merge * start rework permissions * ok so in theory this compiles * make it work I guess * reuse some permissions * fix intermediate connectivity issues * fixes * whatever * some fixes I guess * fix some stuff * idk some random fixes I guess * change some defaults * update nuget * adjust order of operations * adjust deletion of account * remove todo --------- Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
This commit is contained in:
parent
2c9d432fed
commit
302e6ffb62
39 changed files with 3564 additions and 454 deletions
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="lz4net" Version="1.0.15.93" />
|
||||
<PackageReference Include="Meziantou.Analyzer" Version="2.0.49">
|
||||
<PackageReference Include="Meziantou.Analyzer" Version="2.0.93">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
|
|
|
|||
|
|
@ -201,7 +201,7 @@ public class RequestQueueService : IHostedService
|
|||
_userQueueRequests[i] = null;
|
||||
}
|
||||
|
||||
if (!_queue.Any()) return;
|
||||
if (!_queue.Any() && !_priorityQueue.Any()) return;
|
||||
|
||||
if (_userQueueRequests[i] == null)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ public class Startup
|
|||
o.TokenValidationParameters = new()
|
||||
{
|
||||
ValidateIssuer = false,
|
||||
ValidateLifetime = false,
|
||||
ValidateLifetime = true,
|
||||
ValidateAudience = false,
|
||||
ValidateIssuerSigningKey = true,
|
||||
IssuerSigningKey = new SymmetricSecurityKey(Encoding.ASCII.GetBytes(s.GetValue<string>(nameof(MareConfigurationAuthBase.Jwt)))),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue