diff options
| author | KunoiSayami <[email protected]> | 2026-02-09 20:59:33 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2026-02-09 20:59:33 +0800 |
| commit | 735612ccfba150978d174fcc7d95b2ea3013ab9e (patch) | |
| tree | 24eff0b3bdbb4cd70246b90cf3eeec86acb62762 /README.md | |
| parent | 2d3d384f2c32562df304d027c30e6986bd94c157 (diff) | |
refactor: Remove pam authentication method
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 14 |
1 files changed, 0 insertions, 14 deletions
@@ -8,7 +8,6 @@ Simple authentication filter for [cgit](https://wiki.archlinux.org/title/Cgit) p - Password hashing with [Argon2](https://en.wikipedia.org/wiki/Argon2) - Per-repository access control lists (ACL) - Flexible protection modes: protect all repos, selected repos, or none -- Optional [PAM](https://wiki.archlinux.org/title/PAM) authentication support - Session storage via Redis for fast cookie validation - Built-in login page served by the filter - Database migration support (v2 to v3) @@ -62,7 +61,6 @@ All options are set in the `cgitrc` file: | `cgit-simple-auth-database` | `/etc/cgit/auth.db` | SQLite database file path | | `cgit-simple-auth-bypass-root` | `false` | Skip authentication on the repository list (root) page | | `cgit-simple-auth-protect` | `full` | Protection mode: `full`, `part`, or `none` | -| `cgit-simple-auth-use-pam` | `false` | PAM service name, or `false` to disable | ### Protection Modes @@ -107,18 +105,6 @@ cgit-simple-authentication repo list cgit-simple-authentication repo list my-repo ``` -### PAM Authentication - -To authenticate against system users via PAM instead of the built-in SQLite database, enable the `pam` feature at compile time and set the PAM service name: - -```shell -cargo build --release --features pam -``` - -```conf -cgit-simple-auth-use-pam=system-auth -``` - ### Logging Logs are written to `/var/cache/cgit/auth.log` by default. Override with the `LOG_FILE` environment variable. |
