diff options
author | Steven Kriegler <61625851+justusbunsi@users.noreply.github.com> | 2022-07-04 11:21:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-04 11:21:14 +0200 |
commit | 33f6f91008f2219e94e8d909539b38a590554122 (patch) | |
tree | c9999a53ac1cc11fb9679ab7e604ab5e33b892d8 /modules/translation | |
parent | f9b172db65b9a60da86ffee66d9a58853486b1ff (diff) | |
download | gitea-33f6f91008f2219e94e8d909539b38a590554122.tar.gz gitea-33f6f91008f2219e94e8d909539b38a590554122.zip |
Allow enable LDAP source and disable user sync via CLI (#20206)
The current `admin auth` CLI for managing authentication source of type
LDAP via BindDN and Simple LDAP does not allow enabling the respective
source, once disabled via `--not-active`.
The same applies to `--synchronize-users` specifially for LDAP via
BindDN.
These changes add two new flags to LDAP related CLI commands:
- `--active` for both LDAP authentication source types
- `--disable-synchronize-users` for LDAP via BindDN
Signed-off-by: justusbunsi <61625851+justusbunsi@users.noreply.github.com>
Diffstat (limited to 'modules/translation')
0 files changed, 0 insertions, 0 deletions