Commit 676fada7 authored by Malcolm Blaney's avatar Malcolm Blaney

Revert adding remember me option in previous commit.

parent c33fa4a4
Pipeline #17871923 passed with stage
in 1 minute and 10 seconds
......@@ -27,6 +27,6 @@
if(!this.dobrado.indieauth){dobrado.indieauth={};}
(function(){'use strict';$(function(){if($('.indieauth').length===0){return;}
var submit=false;$('#indieauth-submit').button();$('#indieauth-form').submit(function(){if(submit){return false;}
submit=true;$.post('/php/request.php',{request:'indieauth',domain:$('#indieauth-url').val(),remember:$('#indieauth-remember:checked').val(),url:location.href,token:dobrado.token},function(response){if(dobrado.checkResponseError(response,'indieauth')){return;}
submit=true;$.post('/php/request.php',{request:'indieauth',domain:$('#indieauth-url').val(),url:location.href,token:dobrado.token},function(response){if(dobrado.checkResponseError(response,'indieauth')){return;}
var indieauth=JSON.parse(response);if(indieauth.location){location.href=indieauth.location;}
else if(indieauth.info){$('#indieauth-info').html(indieauth.info);submit=false;}});return false;});});}());
\ No newline at end of file
......@@ -46,7 +46,6 @@ if (!this.dobrado.indieauth) {
submit = true;
$.post('/php/request.php',
{ request: 'indieauth', domain: $('#indieauth-url').val(),
remember: $('#indieauth-remember:checked').val(),
url: location.href, token: dobrado.token },
function(response) {
if (dobrado.checkResponseError(response, 'indieauth')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment