forked from rDrama/rDrama
xcv
parent
29b9d73387
commit
3ff99b5eaa
|
@ -704,7 +704,7 @@ def submit_post(v):
|
||||||
parsed_url = urlparse(url)
|
parsed_url = urlparse(url)
|
||||||
|
|
||||||
domain = parsed_url.netloc
|
domain = parsed_url.netloc
|
||||||
if domain in ('old.reddit.com','twitter.com'):
|
if domain == 'old.reddit.com':
|
||||||
new_url = ParseResult(scheme="https",
|
new_url = ParseResult(scheme="https",
|
||||||
netloc=parsed_url.netloc,
|
netloc=parsed_url.netloc,
|
||||||
path=parsed_url.path,
|
path=parsed_url.path,
|
||||||
|
|
|
@ -68,6 +68,16 @@
|
||||||
|
|
||||||
<form action="/settings/security" method="post">
|
<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="body">
|
||||||
|
|
||||||
<div class="d-lg-flex">
|
<div class="d-lg-flex">
|
||||||
|
@ -106,16 +116,6 @@
|
||||||
|
|
||||||
</div>
|
</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>
|
||||||
|
|
||||||
<div class="footer">
|
<div class="footer">
|
||||||
|
|
Loading…
Reference in New Issue