summaryrefslogtreecommitdiffstats
path: root/cmd/admin.go
diff options
context:
space:
mode:
authorngourdon <ngourdon@gmail.com>2019-06-17 20:32:20 +0200
committertechknowlogick <hello@techknowlogick.com>2019-06-17 14:32:20 -0400
commita618df8d8474efb9148d29c4ce6cf8ec14cfca7a (patch)
tree439f8f1c96693cba29b7a598ae5bd2ad21a4686c /cmd/admin.go
parenta200ca15519d6f23a0b64c062f23000c347ce7b6 (diff)
downloadgitea-a618df8d8474efb9148d29c4ce6cf8ec14cfca7a.tar.gz
gitea-a618df8d8474efb9148d29c4ce6cf8ec14cfca7a.zip
Add CLI commands to manage LDAP authentication source (#6681)
* add CLI commands to manage LDAP authentication source * delete Gogs copyright * remove unused return value of func parseLoginSource * fix comment Co-Authored-By: ngourdon <31291059+ngourdon@users.noreply.github.com> * remove config flag already present in global flags * remove config flag from ldap commands in docs * remove config flag handling
Diffstat (limited to 'cmd/admin.go')
-rw-r--r--cmd/admin.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/cmd/admin.go b/cmd/admin.go
index 6234ab828d..4c4d6f9b66 100644
--- a/cmd/admin.go
+++ b/cmd/admin.go
@@ -131,6 +131,10 @@ var (
Subcommands: []cli.Command{
microcmdAuthAddOauth,
microcmdAuthUpdateOauth,
+ cmdAuthAddLdapBindDn,
+ cmdAuthUpdateLdapBindDn,
+ cmdAuthAddLdapSimpleAuth,
+ cmdAuthUpdateLdapSimpleAuth,
microcmdAuthList,
microcmdAuthDelete,
},
@@ -144,7 +148,7 @@ var (
idFlag = cli.Int64Flag{
Name: "id",
- Usage: "ID of OAuth authentication source",
+ Usage: "ID of authentication source",
}
microcmdAuthDelete = cli.Command{