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