mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
fix(oidc): do not lower case in log messages (#2236)
This commit is contained in:
parent
f7b358e72a
commit
28991dd71a
|
@ -15,6 +15,8 @@ import (
|
|||
|
||||
// NewOpenIDConnectStore returns a new OpenIDConnectStore using the provided schema.OpenIDConnectConfiguration.
|
||||
func NewOpenIDConnectStore(configuration *schema.OpenIDConnectConfiguration) (store *OpenIDConnectStore, err error) {
|
||||
logger := logging.Logger()
|
||||
|
||||
store = &OpenIDConnectStore{
|
||||
memory: &storage.MemoryStore{
|
||||
IDSessions: map[string]fosite.Requester{},
|
||||
|
@ -32,7 +34,7 @@ func NewOpenIDConnectStore(configuration *schema.OpenIDConnectConfiguration) (st
|
|||
|
||||
for _, client := range configuration.Clients {
|
||||
policy := authorization.PolicyToLevel(client.Policy)
|
||||
logging.Logger().Debugf("registering client %s with policy %s (%v)", client.ID, client.Policy, policy)
|
||||
logger.Debugf("Registering client %s with policy %s (%v)", client.ID, client.Policy, policy)
|
||||
|
||||
store.clients[client.ID] = NewClient(client)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user