-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
42 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
action_auth (0.2.2) | ||
action_auth (0.2.3) | ||
bcrypt (~> 3.1.0) | ||
rails (~> 7.1) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
app/controllers/action_auth/webauthn_credential_authentications_controller.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 11 additions & 5 deletions
16
app/views/action_auth/webauthn_credential_authentications/new.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,18 @@ | ||
<h2 class="">Use one of your security keys to sign in</h2> | ||
<h2 class="action-auth--text-center">Use a passkey to sign in</h2> | ||
|
||
<%= content_tag :div, | ||
id: "webauthn_credential_form", | ||
data: { controller: "credential-authenticator", | ||
"credential-authenticator-options-value": @options } do %> | ||
data: { | ||
controller: "credential-authenticator", | ||
"credential-authenticator-options-value": @options | ||
}, | ||
class: "action-auth--text-center" do %> | ||
|
||
<div class="mb-3"> | ||
If it's an USB key be sure to insert it and, if necessary, tap it. | ||
<div class="mb-3 action-auth--text-center"> | ||
Insert a USB key, if necessary, and tap it. | ||
</div> | ||
<% end %> | ||
<%= content_for :cancel_path do %> | ||
<%= link_to "Cancel", action_auth.sign_in_path %> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
module ActionAuth | ||
VERSION = "0.2.2" | ||
VERSION = "0.2.3" | ||
end |