fix small miscellaneous bugs

This commit is contained in:
Johann150 2021-11-09 23:07:46 +01:00
parent 8214cda672
commit eee3bb82fe
No known key found for this signature in database
GPG Key ID: 9EE6577A2A06F8F1
2 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ def get_or_create_app(instance_url, callback, website):
app.client_secret = None
else:
# register the app
r = post('{}://{}/api/app/create', json = {
r = post('{}://{}/api/app/create'.format(app.protocol, app.instance), json = {
'name': 'forget',
'description': website,
'permission': ['read:favorites', 'write:notes'],

View File

@ -249,7 +249,7 @@ def misskey_login(instance=None):
min_popularity = 1
)
return render_template(
'mastodon_login.html', instances=instances,
'misskey_login.html', instances=instances,
address_error=request.method == 'POST',
generic_error='error' in request.args
)