From 503b82ea1387e533bbe9e415ea96c285b052d23d Mon Sep 17 00:00:00 2001
From: Yassine Guedidi
- {{ 'config.otp.app.two_factor_code_description_5'|trans }}
{{ secret }}- +
{{ secret }}
+ {{ 'config.otp.app.two_factor_code_description_3'|trans }}
-{{ backupCodes|join("\n") }}+
{{ backupCodes|join("\n") }}
{{ 'config.otp.app.two_factor_code_description_4'|trans }}
diff --git a/templates/Developer/howto_app.html.twig b/templates/Developer/howto_app.html.twig index d4795d5c4..f2d9a6ac2 100644 --- a/templates/Developer/howto_app.html.twig +++ b/templates/Developer/howto_app.html.twig @@ -12,16 +12,16 @@{{ 'developer.howto.description.paragraph_2'|trans }}
{{ 'developer.howto.description.paragraph_3'|trans({'%link%': path('developer_create_client')})|raw }}
{{ 'developer.howto.description.paragraph_4'|trans }}
-+
http POST {{ wallabag_url }}/oauth/v2/token \
grant_type=password \
client_id=12_5um6nz50ceg4088c0840wwc0kgg44g00kk84og044ggkscso0k \
client_secret=3qd12zpeaxes8cwg8c0404g888co4wo8kc4gcw0occww8cgw4k \
username=yourUsername \
password=yourPassw0rd
-
+ {{ 'developer.howto.description.paragraph_5'|trans }}
-+
HTTP/1.1 200 OK
Cache-Control: no-store, private
Connection: close
@@ -39,12 +39,12 @@ X-Powered-By: PHP/5.5.9-1ubuntu4.13
"scope": null,
"token_type": "bearer"
}
-
+ {{ 'developer.howto.description.paragraph_6'|trans }}
-+
http GET {{ wallabag_url }}/api/entries.json \
"Authorization:Bearer ZWFjNjA3ZWMwYWVmYzRkYTBlMmQ3NTllYmVhOGJiZDE0ZTg1NjE4MjczOTVlNzM0ZTRlMWQ0MmRlMmYwNTk5Mw"
-
+ {{ 'developer.howto.description.paragraph_7'|trans }}
{{ 'developer.howto.description.paragraph_8'|trans({'%link%': path('nelmio_api_doc.swagger_ui')})|raw }}
{{ 'developer.howto.back'|trans }}
diff --git a/templates/Entry/entry.html.twig b/templates/Entry/entry.html.twig index 5fa5d8a77..70705d429 100644 --- a/templates/Entry/entry.html.twig +++ b/templates/Entry/entry.html.twig @@ -326,7 +326,7 @@ {% endif %} -