Totally disable the login form to prevent people entering passwords
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
1f3d49bd73
commit
2956a348ef
1 changed files with 2 additions and 0 deletions
|
@ -3,6 +3,8 @@ WSGIScriptAlias /stickynotes2modernpaste /usr/share/stickynotes2modernpaste/stic
|
||||||
WSGISocketPrefix run/wsgi
|
WSGISocketPrefix run/wsgi
|
||||||
|
|
||||||
RewriteEngine on
|
RewriteEngine on
|
||||||
|
RewriteRule login / [L,R]
|
||||||
|
|
||||||
RewriteCond %{HTTP_USER_AGENT} ^fpaste\/0\.3.*$ [OR]
|
RewriteCond %{HTTP_USER_AGENT} ^fpaste\/0\.3.*$ [OR]
|
||||||
RewriteCond %{HTTP_USER_AGENT} ^Python\-urllib.*$
|
RewriteCond %{HTTP_USER_AGENT} ^Python\-urllib.*$
|
||||||
RewriteCond %{REQUEST_METHOD} POST
|
RewriteCond %{REQUEST_METHOD} POST
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue