Add multi-auth devenv (#57609)

* add authentik devenv

* remove direct dependency on spew

* use cn

* add authentik instructions

* add backup instructions
This commit is contained in:
Jo
2022-10-26 11:46:50 +00:00
committed by GitHub
parent 92531c5596
commit 77437f2c89
9 changed files with 7979 additions and 6 deletions

View File

@ -1,6 +1,7 @@
package models
import (
"fmt"
"time"
"github.com/grafana/grafana/pkg/services/org"
@ -37,6 +38,10 @@ type ExternalUserInfo struct {
IsDisabled bool
}
func (e *ExternalUserInfo) String() string {
return fmt.Sprintf("%+v", *e)
}
type LoginInfo struct {
AuthModule string
User *user.User