forked from rDrama/rDrama
dfdMerge branch 'frost' of https://github.com/Aevann1/Drama into frost
commit
46fe881c44
|
@ -890,6 +890,11 @@ def remove_follow(username, v):
|
|||
@limiter.exempt
|
||||
@auth_desired
|
||||
def user_profile_uid(v, id):
|
||||
try: id = int(id)
|
||||
except:
|
||||
try: id = int(id, 36)
|
||||
except: abort(404)
|
||||
|
||||
if not v and not request.path.startswith('/logged_out'): return redirect(f"{SITE_FULL}/logged_out{request.full_path}")
|
||||
|
||||
if v and request.path.startswith('/logged_out'): v = None
|
||||
|
|
|
@ -189,7 +189,7 @@
|
|||
{% endif %}
|
||||
|
||||
<div class="custom-control custom-checkbox">
|
||||
<input autocomplete="off" type="checkbox" class="custom-control-input" id="ghost" name="ghost">
|
||||
<input onchange='draft(this);' autocomplete="off" type="checkbox" class="custom-control-input" id="ghost" name="ghost">
|
||||
<label class="custom-control-label" for="ghost">Ghost Thread</label>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue