401.html
HTML document, ASCII text
1{% extends "error.html" %} 2 3{% set error = "Unauthorised" %} 4{% set error_code = 401 %} 5 6{% block error_content %} 7<p> 8You must be authenticated to access this. And even if you're authenticated, you need to have 9the right permissions, or you'll get 403 Forbidden. How did you even think you could do this 10anonymously?<br> 11<a href="/accounts/">Log in</a> and try this request again. Or just look at this random picture 12the server found for you. Try bribing the subject of it for access, there may be a nonzero chance it 13will let you in.<br> 14What reason do you even have not to <a href="/accounts/">have an account</a>? FYI, we already 15know your IP address, city, browser, OS, device, screen size, ISP (as any website does), and we've 16just logged your terrible attempt at breaking our server (we actually log everything), 17so it's not like you're losing anything by signing up. 18Don't believe us?<br> Aren't you using a <code>{{ user_agent }}</code>? No, we don't run analytics 19and we're not interested in your data. 20</p> 21<div style="padding: 1rem; display: flex; flex-direction: column; align-items: center;"> 22Try our bribe service, in case you've logged in but can't access the resource, putting you in depression: 23<a class="button" href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">Attempt to bribe the cat/dog/flower/rubbish/sun/[insert object here] for access</a> 24(bribe service requires JavaScript, cookies and sending your data to Google, which actually wants it, unlike us) 25</div> 26<p> 27<a href="/">Home page</a> 28</p> 29<p> 30<a href="/picture/{{ random_picture.id }}/">Like what you see?</a> 31</p> 32{% endblock %} 33