Merge pull request #761 from internetee/registry-642

Do not check IP in bank link callback URL
This commit is contained in:
Timo Võhmar 2018-03-28 13:17:29 +03:00 committed by GitHub
commit d501ee90e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 4 deletions

View file

@ -3,7 +3,7 @@ class Registrar
protect_from_forgery except: :back
skip_authorization_check # actually anyone can pay, no problems at all
skip_before_action :authenticate_user!, :check_ip, only: [:back]
skip_before_action :authenticate_user!, :check_ip_restriction, only: [:back]
before_action :check_bank
# to handle existing model we should