mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-26 23:25:30 +00:00
feat(auth): authenticate users via ldap
This commit is contained in:
@@ -26,7 +26,10 @@ import (
|
||||
"xorm.io/xorm"
|
||||
)
|
||||
|
||||
const IssuerLocal = `local`
|
||||
const (
|
||||
IssuerLocal = `local`
|
||||
IssuerLDAP = `ldap`
|
||||
)
|
||||
|
||||
// CreateUser creates a new user and inserts it into the database
|
||||
func CreateUser(s *xorm.Session, user *User) (newUser *User, err error) {
|
||||
|
||||
Reference in New Issue
Block a user