authenticate
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
class Api::ApiController < ActionController::API
|
||||
# include TokenVerification
|
||||
include TokenVerification
|
||||
|
||||
# before_action :lookup_domain
|
||||
helper_method :current_token, :current_login_employee, :get_cashier
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
class Api::AuthenticateController < Api::ApiController
|
||||
# skip_before_action :authenticate
|
||||
skip_before_action :authenticate
|
||||
|
||||
def create
|
||||
emp_id = params[:emp_id]
|
||||
|
||||
Reference in New Issue
Block a user