mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 05:02:35 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user