mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-14 03:44:16 +01:00
fixes for server auth
This commit is contained in:
parent
617bc6afc8
commit
c1f329c233
3 changed files with 4 additions and 3 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue