mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-04 20:03:18 +02:00
authorize: add support for service accounts (#1374)
This commit is contained in:
parent
eaf0dd4e67
commit
0a6796ff71
8 changed files with 236 additions and 51 deletions
|
@ -390,6 +390,7 @@ func (srv *Server) getDB(recordType string, lock bool) (db storage.Backend, vers
|
|||
if db == nil {
|
||||
db, err = srv.newDB(recordType)
|
||||
srv.byType[recordType] = db
|
||||
defer srv.onTypechange.Broadcast()
|
||||
}
|
||||
if lock {
|
||||
srv.mu.Unlock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue