mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 14:44:47 +02:00
An addition to 840b6da1be
This commit is contained in:
parent
2b273d26fa
commit
de83755fc9
1 changed files with 2 additions and 1 deletions
|
@ -3,7 +3,8 @@ class Registrar
|
|||
protect_from_forgery except: [:back, :callback]
|
||||
|
||||
skip_authorization_check # actually anyone can pay, no problems at all
|
||||
skip_before_action :authenticate_user!, :check_ip_restriction, only: [:back, :callback]
|
||||
skip_before_action :authenticate_registrar_user!, :check_ip_restriction,
|
||||
only: [:back, :callback]
|
||||
before_action :check_supported_payment_method
|
||||
|
||||
def pay
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue