diff options
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |