forked from forgejo/forgejo
parent
683b95f0da
commit
2165729d16
5 changed files with 6 additions and 14 deletions
|
@ -275,9 +275,6 @@ func ActiveSources(tp Type) ([]*Source, error) {
|
|||
// IsSSPIEnabled returns true if there is at least one activated login
|
||||
// source of type LoginSSPI
|
||||
func IsSSPIEnabled() bool {
|
||||
if !db.HasEngine {
|
||||
return false
|
||||
}
|
||||
sources, err := ActiveSources(SSPI)
|
||||
if err != nil {
|
||||
log.Error("ActiveSources: %v", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue