Move admin/login note to configuration.md and link to the wiki
This commit is contained in:
parent
e73186f043
commit
1b29649635
@ -695,10 +695,4 @@ 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. This setting will not block 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:
|
Once external auth is set up, 'regular' login can be disabled with the [PAPERLESS_DISABLE_REGULAR_LOGIN](configuration.md#PAPERLESS_DISABLE_REGULAR_LOGIN) setting.
|
||||||
|
|
||||||
```
|
|
||||||
location /admin/login {
|
|
||||||
return 403;
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
@ -585,7 +585,7 @@ system. See the corresponding
|
|||||||
|
|
||||||
#### [`PAPERLESS_DISABLE_REGULAR_LOGIN=<bool>`](#PAPERLESS_DISABLE_REGULAR_LOGIN) {#PAPERLESS_DISABLE_REGULAR_LOGIN}
|
#### [`PAPERLESS_DISABLE_REGULAR_LOGIN=<bool>`](#PAPERLESS_DISABLE_REGULAR_LOGIN) {#PAPERLESS_DISABLE_REGULAR_LOGIN}
|
||||||
|
|
||||||
: Disables the regular frontend username / password login, i.e. once you have setup SSO. Note that the Django admin login cannot be disabled.
|
: Disables the regular frontend username / password login, i.e. once you have setup SSO. Note that the Django admin login cannot be disabled by Paperless. To prevent logins directly into Django, consider blocking `/admin/login` in your [web server or reverse proxy configuration](https://github.com/paperless-ngx/paperless-ngx/wiki/Using-a-Reverse-Proxy-with-Paperless-ngx).
|
||||||
|
|
||||||
Defaults to False
|
Defaults to False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user