Totally disable the login form to prevent people entering passwords

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-02-16 11:33:24 +00:00
parent 1f3d49bd73
commit 2956a348ef

View file

@ -3,6 +3,8 @@ WSGIScriptAlias /stickynotes2modernpaste /usr/share/stickynotes2modernpaste/stic
WSGISocketPrefix run/wsgi
RewriteEngine on
RewriteRule login / [L,R]
RewriteCond %{HTTP_USER_AGENT} ^fpaste\/0\.3.*$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^Python\-urllib.*$
RewriteCond %{REQUEST_METHOD} POST