Skip to content
Extraits de code Groupes Projets
Valider 10314ffc rédigé par augier's avatar augier Validation de theworldbright
Parcourir les fichiers

Fixing more remarks

parent c1e1f9bf
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -10,7 +10,7 @@
%ul
- app.scopes.each do |scope|
%li
%b= t("api.openid_connect.scopes.#{scope}.name")
%strong= t("api.openid_connect.scopes.#{scope}.name")
%p= t("api.openid_connect.scopes.#{scope}.description")
- else
.well
......@@ -19,13 +19,13 @@
.small-horizontal-spacer
.application-tos-policy
- if app.terms_of_services?
%b= link_to t("api.openid_connect.user_applications.tos"), app.terms_of_services
%strong= link_to t("api.openid_connect.user_applications.tos"), app.terms_of_services
- if app.policy? && app.terms_of_services?
|
- if app.policy?
%b= link_to t("api.openid_connect.user_applications.policy"), app.policy
%strong= link_to t("api.openid_connect.user_applications.policy"), app.policy
- if app.policy? || app.terms_of_services?
.small-horizontal-spacer
......@@ -6,6 +6,6 @@ Rails.application.config.middleware.insert 0, Rack::Cors do
resource "/.well-known/webfinger"
resource "/.well-known/openid-configuration"
resource "/api/openid_connect/user_info", methods: %i(get post)
resource "/api/v0/*", methods: %i(get post delete)
resource "/api/v0/*", methods: %i(delete get post)
end
end
......@@ -893,7 +893,7 @@ en:
bad_request: "Missing client id or redirect URI"
client_id_not_found: "No client with client_id %{client_id} with redirect URI %{redirect_uri} found"
destroy:
fail: "The attempt to revoke the authorization with ID %{id} has failed"
fail: "The attempt to revoke the authorization with ID %{id} failed"
user_applications:
index:
edit_applications: "Applications"
......@@ -902,7 +902,7 @@ en:
no_requirement: "%{name} requires no permissions"
no_applications: "You have no authorized applications"
revoke_autorization: "Revoke"
tos: "See the application's ToS"
tos: "See the application's terms of service"
policy: "See the application's privacy policy"
scopes:
openid:
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter