You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Data/Scripts/Lang/en.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -63,5 +63,10 @@
63
63
"confirmation" : {
64
64
"text": "You need to sign in to your Imgur account in the web browser that has just opened, then copy the confirmation code into the text field below. Please enter the confirmation code:"
65
65
}
66
+
},
67
+
"oauth": {
68
+
"success": "Authorization was successful! You can now close this page.",
Copy file name to clipboardExpand all lines: Data/Scripts/Lang/ru.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -63,5 +63,10 @@
63
63
"confirmation": {
64
64
"text": "Вам нужно войти в свою учетную запись Imgur в веб-браузере, который только что открылся, а затем скопировать код подтверждения в текстовое поле ниже. Пожалуйста, введите код подтверждения:"
65
65
}
66
+
},
67
+
"oauth": {
68
+
"success": "Авторизация прошла успешно! Теперь вы можете закрыть эту страницу.",
69
+
"failed": "Не удалось получить код подтверждения",
local url ="https://www.dropbox.com/oauth2/authorize?"+
113
+
local htmlFooter ="</body></html>";
114
+
115
+
server.resource("^/$", "GET", function(d) {
116
+
local responseBody ="";
117
+
if ("code"in d.queryParams){
118
+
authCode = d.queryParams.code;
119
+
responseBody = htmlHead +"<h1>"+tr("oauth.title", "Authorization") +"</h1><p>"+tr("oauth.success", "Success! Now you can close this page.")+"</p>"+ htmlFooter;
0 commit comments