fix small miscellaneous bugs
This commit is contained in:
parent
8214cda672
commit
eee3bb82fe
|
@ -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'],
|
||||
|
|
|
@ -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
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue