action_auth 0.2.10 → 0.2.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/app/mailers/action_auth/application_mailer.rb +1 -1
- data/lib/action_auth/configuration.rb +2 -0
- data/lib/action_auth/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8c07ad9154a460104b707e5de606ed075d7598d46ec23aea95886cf38adde58b
|
|
4
|
+
data.tar.gz: be73fc563f21b20d7011beb5d8f254da78dd19cec32e17d5544dfbead62021ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dd5c45af824e82690d667dca90b29e3741da5a607f5d66e9acb8b3b3cf7ab1cfdd6fdff6c5b7501e39df358e474cdc4093166a54a1f7244858df16c0b1d012c1
|
|
7
|
+
data.tar.gz: 7fc79d6d508ed1e5293bd1153b29f545ab01ba80b6ee4a5692abd1f7fac6bb5640ec284811e7bf7047aebcfe0b423f69215348c4ec105f84c25fac6c2915ff08
|
data/README.md
CHANGED
|
@@ -65,6 +65,7 @@ ActionAuth.configure do |config|
|
|
|
65
65
|
config.webauthn_origin = "http://localhost:3000" # or "https://example.com"
|
|
66
66
|
config.webauthn_rp_name = Rails.application.class.to_s.deconstantize
|
|
67
67
|
config.verify_email_on_sign_in = true
|
|
68
|
+
config.default_from_email = "from@example.com"
|
|
68
69
|
end
|
|
69
70
|
```
|
|
70
71
|
|
|
@@ -200,6 +201,7 @@ ActionAuth.configure do |config|
|
|
|
200
201
|
config.webauthn_origin = "http://localhost:3000" # or "https://example.com"
|
|
201
202
|
config.webauthn_rp_name = Rails.application.class.to_s.deconstantize
|
|
202
203
|
config.verify_email_on_sign_in = true
|
|
204
|
+
config.default_from_email = "from@example.com"
|
|
203
205
|
end
|
|
204
206
|
```
|
|
205
207
|
|
|
@@ -5,12 +5,14 @@ module ActionAuth
|
|
|
5
5
|
attr_accessor :webauthn_origin
|
|
6
6
|
attr_accessor :webauthn_rp_name
|
|
7
7
|
attr_accessor :verify_email_on_sign_in
|
|
8
|
+
attr_accessor :default_from_email
|
|
8
9
|
|
|
9
10
|
def initialize
|
|
10
11
|
@webauthn_enabled = defined?(WebAuthn)
|
|
11
12
|
@webauthn_origin = "http://localhost:3000"
|
|
12
13
|
@webauthn_rp_name = Rails.application.class.to_s.deconstantize
|
|
13
14
|
@verify_email_on_sign_in = true
|
|
15
|
+
@default_from_email = "from@example.com"
|
|
14
16
|
end
|
|
15
17
|
|
|
16
18
|
def webauthn_enabled?
|
data/lib/action_auth/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: action_auth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dave Kimura
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2024-01-
|
|
11
|
+
date: 2024-01-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
120
120
|
- !ruby/object:Gem::Version
|
|
121
121
|
version: '0'
|
|
122
122
|
requirements: []
|
|
123
|
-
rubygems_version: 3.5.
|
|
123
|
+
rubygems_version: 3.5.5
|
|
124
124
|
signing_key:
|
|
125
125
|
specification_version: 4
|
|
126
126
|
summary: A simple Rails engine for authorization.
|