forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2022-01-28 02:25:40 +02:00
parent 29b9d73387
commit 3ff99b5eaa
2 changed files with 11 additions and 11 deletions

View File

@ -704,7 +704,7 @@ def submit_post(v):
parsed_url = urlparse(url)
domain = parsed_url.netloc
if domain in ('old.reddit.com','twitter.com'):
if domain == 'old.reddit.com':
new_url = ParseResult(scheme="https",
netloc=parsed_url.netloc,
path=parsed_url.path,

View File

@ -68,6 +68,16 @@
<form action="/settings/security" method="post">
<div class="d-lg-flex mt-5">
<label for="old_password" class="mb-0 w-lg-25">Old Password</label>
<input autocomplete="off" class="form-control mb-2 w-lg-100" id="old_password"
aria-describedby="old_password" type="password" name="old_password"
required>
</div>
<div class="body">
<div class="d-lg-flex">
@ -106,16 +116,6 @@
</div>
<div class="d-lg-flex mt-5">
<label for="old_password" class="mb-0 w-lg-25">Old Password</label>
<input autocomplete="off" class="form-control mb-2 w-lg-100" id="old_password"
aria-describedby="old_password" type="password" name="old_password"
required>
</div>
</div>
<div class="footer">