Change authorization header key (#6)

* Change authorization header key

as the use of headers starting with X- has been deprecated in RFC6648.

* Update configuration.example.yaml

Co-authored-by: Sebastian Serth <MrSerth@users.noreply.github.com>
This commit is contained in:
Maximilian Paß
2021-10-04 12:23:41 +02:00
committed by GitHub
parent b530c58ee8
commit 9d7e59df36
3 changed files with 4 additions and 4 deletions

View File

@ -9,7 +9,7 @@ import (
var log = logging.GetLogger("api/auth")
const TokenHeader = "X-Poseidon-Token"
const TokenHeader = "Poseidon-Token"
var correctAuthenticationToken []byte