Do not check IP in bank link callback URL

#642
This commit is contained in:
Artur Beljajev 2018-03-07 17:21:42 +02:00
parent 507d59fbab
commit b68391ca80
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