diff options
author | metamuffin <metamuffin@disroot.org> | 2025-01-17 21:25:20 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2025-01-17 21:25:20 +0100 |
commit | 455139ba2c73220da9e930838e876c59af6011f4 (patch) | |
tree | a77962d7ac6f6312c5665401684951b7651270df | |
parent | 1eea7ca9b64a47f356b1506091f41918badaf466 (diff) | |
download | gnix-455139ba2c73220da9e930838e876c59af6011f4.tar gnix-455139ba2c73220da9e930838e876c59af6011f4.tar.bz2 gnix-455139ba2c73220da9e930838e876c59af6011f4.tar.zst |
typo in header name
-rw-r--r-- | readme.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -165,7 +165,7 @@ themselves; in that case the request is passed on. containing the username and `gnix_auth` containing an opaque authentification token. The `gnix_username` cookie is authentificated by gnix and can therefore be used by applications. Alternatively a login may be - implemented by returning the `gnix-login-success` header with a username as + implemented by returning the `gnix-auth-success` header with a username as the value from the `fail` handler, which is handled like a sucessful login for that user. This method can be useful for implementing custom login logic like OTP login or a CAPTCHA. @@ -180,7 +180,7 @@ themselves; in that case the request is passed on. - `fail`: a module to handle the request when a user is not authorized. This could show an HTML form prompting the user to log in. An implementation of such a form is provided with the distribution of this software, usually in - `/usr/share/gnix/login.html`. It can return the `gnix-login-success` header, + `/usr/share/gnix/login.html`. It can return the `gnix-auth-success` header, see above. (module) - **module `switch`** |