Skip to content

Commit

Permalink
Réparation des liens de suppression de compte dans les mails (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
mininao authored Jun 14, 2021
1 parent 38062c3 commit 9deee4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class UsersController < ApplicationController
include UserAuthenticationViaSignedId

before_action :authenticate_user!, except: %i[new create destroy]
before_action :authenticate_user!, except: %i[new create destroy confirm_destroy]
before_action -> { authenticate_user_via_signed_id!(purpose: "users.destroy") }, only: %i[confirm_destroy destroy]
before_action :sign_out_if_anonymized!
before_action :find_or_create_match, only: %i[new show update]
Expand Down

0 comments on commit 9deee4b

Please sign in to comment.