[#923] OAuth consumer improvements, fixes, refactoring.
This commit is contained in:
parent
81bf6d9e6a
commit
2a95014b9d
10 changed files with 59 additions and 36 deletions
|
|
@ -51,6 +51,8 @@ defmodule Pleroma.Web.Auth.LDAPAuthenticator do
|
|||
|
||||
def auth_template, do: nil
|
||||
|
||||
def oauth_consumer_template, do: nil
|
||||
|
||||
defp ldap_user(name, password) do
|
||||
ldap = Pleroma.Config.get(:ldap, [])
|
||||
host = Keyword.get(ldap, :host, "localhost")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue