Skip to content

Commit

Permalink
Update confirmation config
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabhbhatia committed Sep 23, 2024
1 parent d0bc71a commit 56f84a8
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 18 deletions.
32 changes: 16 additions & 16 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -96,20 +96,20 @@ GEM
public_suffix (>= 2.0.2, < 7.0)
ast (2.4.2)
aws-eventstream (1.3.0)
aws-partitions (1.976.0)
aws-sdk-core (3.205.0)
aws-partitions (1.977.0)
aws-sdk-core (3.207.0)
aws-eventstream (~> 1, >= 1.3.0)
aws-partitions (~> 1, >= 1.651.0)
aws-sigv4 (~> 1.9)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.91.0)
aws-sdk-core (~> 3, >= 3.205.0)
aws-sdk-kms (1.92.0)
aws-sdk-core (~> 3, >= 3.207.0)
aws-sigv4 (~> 1.5)
aws-sdk-s3 (1.162.0)
aws-sdk-core (~> 3, >= 3.205.0)
aws-sdk-s3 (1.164.0)
aws-sdk-core (~> 3, >= 3.207.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.5)
aws-sigv4 (1.9.1)
aws-sigv4 (1.10.0)
aws-eventstream (~> 1, >= 1.0.2)
base64 (0.2.0)
bcrypt (3.1.20)
Expand Down Expand Up @@ -149,9 +149,9 @@ GEM
devise (> 3.5.2, < 5)
rails (>= 4.2.0, < 7.2)
diff-lcs (1.5.1)
dotenv (3.1.2)
dotenv-rails (3.1.2)
dotenv (= 3.1.2)
dotenv (3.1.4)
dotenv-rails (3.1.4)
dotenv (= 3.1.4)
railties (>= 6.1)
drb (2.2.1)
erubi (1.13.0)
Expand Down Expand Up @@ -187,7 +187,8 @@ GEM
rails (>= 4.2, < 7.2)
zeitwerk
hashie (5.0.0)
honeybadger (5.15.6)
honeybadger (5.16.0)
logger
httparty (0.22.0)
csv
mini_mime (>= 1.0.0)
Expand Down Expand Up @@ -222,7 +223,7 @@ GEM
net-smtp
marcel (1.0.4)
matrix (0.4.2)
meta-tags (2.22.0)
meta-tags (2.22.1)
actionpack (>= 6.0.0, < 8.1)
method_source (1.1.0)
mini_magick (4.13.2)
Expand Down Expand Up @@ -278,7 +279,7 @@ GEM
psych (5.1.2)
stringio
public_suffix (6.0.1)
puma (6.4.2)
puma (6.4.3)
nio4r (~> 2.0)
pundit (2.4.0)
activesupport (>= 3.0.0)
Expand Down Expand Up @@ -383,7 +384,7 @@ GEM
rubocop-performance (1.22.1)
rubocop (>= 1.48.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rails (2.26.1)
rubocop-rails (2.26.2)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.52.0, < 2.0)
Expand Down Expand Up @@ -422,9 +423,8 @@ GEM
stripe (12.6.0)
thor (1.3.2)
timeout (0.4.1)
turbo-rails (2.0.7)
turbo-rails (2.0.10)
actionpack (>= 6.0.0)
activejob (>= 6.0.0)
railties (>= 6.0.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
Expand Down
2 changes: 1 addition & 1 deletion app/graphql/comix_schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class ComixSchema < GraphQL::Schema
query: Types::QueryType,
mutation: Types::MutationType,
resource_loaders: [
GraphqlDevise::ResourceLoader.new(User, only: [:login, :logout, :update_password_with_token, :send_password_reset_with_token, :confirm_registration_with_token])
GraphqlDevise::ResourceLoader.new(User, only: [:login, :logout, :register, :update_password_with_token, :send_password_reset_with_token, :confirm_registration_with_token])
]
)

Expand Down
3 changes: 2 additions & 1 deletion config/initializers/devise_token_auth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@
# By default DeviseTokenAuth will not send confirmation email, even when including
# devise confirmable module. If you want to use devise confirmable module and
# send email, set it to true. (This is a setting for compatibility)
# config.send_confirmation_email = true
config.send_confirmation_email = true
config.default_confirm_success_url = "http://localhost:3000"
end

0 comments on commit 56f84a8

Please sign in to comment.