Disable authentication for API
Some checks failed
Ruby on Rails Test / rails-test (push) Has been cancelled
Some checks failed
Ruby on Rails Test / rails-test (push) Has been cancelled
This commit is contained in:
@@ -43,6 +43,8 @@
|
|||||||
- [ ] feat: Fraud prevention and bot protection
|
- [ ] feat: Fraud prevention and bot protection
|
||||||
- [ ] feat: Social login options
|
- [ ] feat: Social login options
|
||||||
- [ ] feat: Event recommendations system
|
- [ ] feat: Event recommendations system
|
||||||
|
- [ ] feat: Invitation link. As organizer or promoter, you can invite people
|
||||||
|
|
||||||
|
|
||||||
### Design & Infrastructure
|
### Design & Infrastructure
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,9 @@
|
|||||||
module Api
|
module Api
|
||||||
module V1
|
module V1
|
||||||
class OrdersController < ApiController
|
class OrdersController < ApiController
|
||||||
before_action :authenticate_user!
|
# Skip API key authentication for store_cart action (used by frontend forms)
|
||||||
|
skip_before_action :authenticate_api_key, only: [ :store_cart ]
|
||||||
|
|
||||||
before_action :set_order, only: [ :show, :checkout, :retry_payment, :increment_payment_attempt ]
|
before_action :set_order, only: [ :show, :checkout, :retry_payment, :increment_payment_attempt ]
|
||||||
before_action :set_event, only: [ :new, :create ]
|
before_action :set_event, only: [ :new, :create ]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user