[gnome-maps/gnome-3-38] osmConnection: Use '1' for permission instead of 'yes'
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/gnome-3-38] osmConnection: Use '1' for permission instead of 'yes'
- Date: Fri, 9 Jul 2021 21:11:31 +0000 (UTC)
commit 30cd7f8795a927452c42229c8457d2e6f7a852c6
Author: Marcus Lundblad <ml update uu se>
Date: Fri Jul 9 23:03:42 2021 +0200
osmConnection: Use '1' for permission instead of 'yes'
Use the correct value '1' instead of 'yes' when posting
the authorization form. This fixes a regression making
OSM OAUTH setup to break with recent updates on
openstreetmap.org breaking the old incorrect behavior.
Fixes #386
src/osmConnection.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/osmConnection.js b/src/osmConnection.js
index fcb1183a..33f2a67d 100644
--- a/src/osmConnection.js
+++ b/src/osmConnection.js
@@ -317,7 +317,7 @@ var OSMConnection = class OSMConnection {
oauth_token: this._oauthToken,
oauth_callback: '',
authenticity_token: token,
- allow_write_api: 'yes',
+ allow_write_api: '1',
commit: 'Save changes'
});
let requestHeaders = msg.request_headers;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]