mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
login required on communities/notsubscribed
This commit is contained in:
parent
ddccb7859b
commit
ca6140315f
2 changed files with 8 additions and 8 deletions
|
@ -330,6 +330,7 @@ def list_subscribed_communities():
|
|||
|
||||
|
||||
@bp.route('/communities/notsubscribed', methods=['GET'])
|
||||
@login_required
|
||||
def list_not_subscribed_communities():
|
||||
verification_warning()
|
||||
search_param = request.args.get('search', '')
|
||||
|
@ -386,6 +387,7 @@ def list_not_subscribed_communities():
|
|||
low_bandwidth=low_bandwidth, moderating_communities=moderating_communities(current_user.get_id()),
|
||||
menu_topics=menu_topics(), site=g.site)
|
||||
|
||||
|
||||
@bp.route('/modlog', methods=['GET'])
|
||||
def modlog():
|
||||
page = request.args.get('page', 1, type=int)
|
||||
|
@ -509,8 +511,6 @@ def replay_inbox():
|
|||
@bp.route('/test')
|
||||
def test():
|
||||
|
||||
return mastodon_extra_field_link('<a href="https://www.brammeehan.com" target="_blank" rel="nofollow noopener me" translate="no"><span class="invisible">https://www.</span><span class="">brammeehan.com</span><span class="invisible"></span></a>')
|
||||
|
||||
response = get_request('https://rimu.geek.nz')
|
||||
x = ''
|
||||
if response.status_code == 200:
|
||||
|
|
Loading…
Reference in a new issue