mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
keycloak logout and auth provider switching
This commit is contained in:
parent
8c062d592a
commit
0f9d673eb5
12 changed files with 78 additions and 45 deletions
|
@ -112,12 +112,6 @@ func AuthenticateKeycloak(w http.ResponseWriter, r *http.Request) {
|
|||
if err == sql.ErrNoRows {
|
||||
log.Info("keycloak add user " + a.Email + " @ " + a.Domain)
|
||||
|
||||
p.Context.Transaction, err = request.Db.Beginx()
|
||||
if err != nil {
|
||||
writeTransactionError(w, method, err)
|
||||
return
|
||||
}
|
||||
|
||||
user = entity.User{}
|
||||
user.Firstname = a.Firstname
|
||||
user.Lastname = a.Lastname
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue