fixes for server auth

This commit is contained in:
rootdarkarchon
2023-01-11 14:31:33 +01:00
parent 617bc6afc8
commit c1f329c233
3 changed files with 4 additions and 3 deletions

View File

@@ -15,5 +15,5 @@ public class ControllerBase : Controller
}
protected string MareUser => HttpContext.User.Claims.First(f => string.Equals(f.Type, MareClaimTypes.Uid, StringComparison.Ordinal)).Value;
protected string Authorization => "Bearer " + _generator.Token;
protected string Authorization => _generator.Token;
}