xcv
This commit is contained in:
parent
d488a75272
commit
e1354642eb
2 changed files with 11 additions and 11 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue