Merge pull request #969 from internetee/fix-401-showing-up-for-domain-registrant-change

Fix 401 showing up for domain registrant change
This commit is contained in:
Timo Võhmar 2018-09-06 12:09:41 +03:00 committed by GitHub
commit c798847281
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
class Registrant::DomainDeleteConfirmsController < RegistrantController
skip_before_action :authenticate_user!, only: [:show, :update]
skip_before_action :authenticate_registrant_user!, only: [:show, :update]
skip_authorization_check only: [:show, :update]
def show

View file

@ -1,5 +1,5 @@
class Registrant::DomainUpdateConfirmsController < RegistrantController
skip_before_action :authenticate_user!, only: %i[show update]
skip_before_action :authenticate_registrant_user!, only: %i[show update]
skip_authorization_check only: %i[show update]
def show