Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into device-grant
Browse files Browse the repository at this point in the history
  • Loading branch information
reesericci authored Jan 28, 2024
2 parents c515c87 + 105b03e commit 9c2e629
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions app/javascript/application.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import "controllers"
import "@hotwired/turbo-rails"
import "selectlist"
import("selectlist")
1 change: 1 addition & 0 deletions app/javascript/controllers/formselect_controller.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Controller } from "@hotwired/stimulus";
import "selectlist";

export default class extends Controller {
static targets = [ "select" ]
Expand Down
4 changes: 3 additions & 1 deletion app/views/doorkeeper/authorizations/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<%= hidden_field_tag :response_type, @pre_auth.response_type, id: nil %>
<%= hidden_field_tag :response_mode, @pre_auth.response_mode, id: nil %>
<%= hidden_field_tag :scope, @pre_auth.scope, id: nil %>
<%= hidden_field_tag :nonce, @pre_auth.nonce %>
<%= hidden_field_tag :code_challenge, @pre_auth.code_challenge, id: nil %>
<%= hidden_field_tag :code_challenge_method, @pre_auth.code_challenge_method, id: nil %>
<%= submit_tag t('doorkeeper.authorizations.buttons.authorize'), class: "btn btn-success btn-lg btn-block" %>
Expand All @@ -37,6 +38,7 @@
<%= hidden_field_tag :response_type, @pre_auth.response_type, id: nil %>
<%= hidden_field_tag :response_mode, @pre_auth.response_mode, id: nil %>
<%= hidden_field_tag :scope, @pre_auth.scope, id: nil %>
<%= hidden_field_tag :nonce, @pre_auth.nonce %>
<%= hidden_field_tag :code_challenge, @pre_auth.code_challenge, id: nil %>
<%= hidden_field_tag :code_challenge_method, @pre_auth.code_challenge_method, id: nil %>
<%= submit_tag t('doorkeeper.authorizations.buttons.deny'), class: "btn btn-danger btn-lg btn-block" %>
Expand Down Expand Up @@ -128,4 +130,4 @@
background-color: var(--bg) !important;
border: 2px solid var(--winter-sky);
}
</style>
</style>
2 changes: 1 addition & 1 deletion config/importmap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
pin "@github/webauthn-json/browser-ponyfill", to: "https://ga.jspm.io/npm:@github/[email protected]/dist/esm/webauthn-json.browser-ponyfill.js"
pin "url-safe-base64", to: "https://ga.jspm.io/npm:[email protected]/src/index.js"
pin_all_from "app/javascript"
pin "selectlist", to: "https://esm.sh/[email protected]"
pin "selectlist", to: "https://esm.sh/[email protected]", preload: true

0 comments on commit 9c2e629

Please sign in to comment.