Finish mastodon login flow

master
Bofh 1 year ago
parent 415becc496
commit 4f73dddc73

@ -20,6 +20,8 @@ const http = {
const API = {
mastodon: {
registerInstance: function(instance) {
if (instance === null)
instance = document.getElementById('instanceURL').value;
http.get('/api/login/mastodon/get_client.php?instance='+encodeURIComponent(instance), {}, function(data)
{
data = JSON.parse(data);

Loading…
Cancel
Save