aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/readme.md b/readme.md
index 8ba9c1a..8a4fee1 100644
--- a/readme.md
+++ b/readme.md
@@ -167,8 +167,9 @@ themselves; in that case the request is passed on.
gnix and can therefore be used by applications. Alternatively a login may be
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.
+ for that user. If `gnix-auth-no-redirect` is set the response of the `fail`
+ handler is passed instead of a redirect being sent. This method can be
+ useful for implementing custom login logic like OTP login or a CAPTCHA.
- `users`: list of valid logins (credentials)
- `expire`: seconds before logins expire; not setting this option keeps the
login valid forever on the server but cleared after the session on the