mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-12 04:52:26 +00:00
NET 7.0 support (#581)
* NET 7.0 support * Bump Pomelo MySql to support EF7 * Its net7.0 time * Trying to resolve dependencies by hand * Fix .NET 7 warnings * Bump InfluxDB version * Fix bad null handling
This commit is contained in:
parent
fe0b0726b5
commit
d16132f67f
22 changed files with 48 additions and 44 deletions
|
@ -75,7 +75,7 @@ public class UserEndpoints : ApiEndpointController
|
|||
!Configuration.ServerConfiguration.Instance.Authentication.RegistrationEnabled)
|
||||
return this.NotFound();
|
||||
|
||||
string authHeader = this.Request.Headers["Authorization"];
|
||||
string? authHeader = this.Request.Headers["Authorization"];
|
||||
if (string.IsNullOrWhiteSpace(authHeader)) return this.NotFound();
|
||||
|
||||
string authToken = authHeader[(authHeader.IndexOf(' ') + 1)..];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue