Document that /admin/login isn’t blocked when disabling direct logins
I understand from https://github.com/paperless-ngx/paperless-ngx/pull/5816 that this can’t or won’t be implemented in Paperless itself. That’s fine, but I think we should document this and offer an example of how someone could block it at a different layer in the stack.
This commit is contained in:
parent
23ceb2a5ec
commit
449db51aff
@ -695,4 +695,10 @@ More details about configuration option for various providers can be found in th
|
|||||||
|
|
||||||
### Disabling Regular Login
|
### Disabling Regular Login
|
||||||
|
|
||||||
Once external auth is set up, 'regular' login can be disabled with the [PAPERLESS_DISABLE_REGULAR_LOGIN](configuration.md#PAPERLESS_DISABLE_REGULAR_LOGIN) setting.
|
Once external auth is set up, 'regular' login can be disabled with the [PAPERLESS_DISABLE_REGULAR_LOGIN](configuration.md#PAPERLESS_DISABLE_REGULAR_LOGIN) setting. This setting will not black access to the built-in Django login form at `/admin/login`. To block access to that page, consider blocking it in your web server configuration. For example, with Nginx, try:
|
||||||
|
|
||||||
|
```
|
||||||
|
location /admin/login {
|
||||||
|
return 403;
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user