refactor security system
This commit is contained in:
@@ -144,6 +144,9 @@ en:
|
||||
total: Total
|
||||
product_category:
|
||||
other_name: Overig
|
||||
obtain_token:
|
||||
title: Authenticate Qwaiter
|
||||
obtain: Authenticate
|
||||
section:
|
||||
first_section_title: Room
|
||||
manage_tables:
|
||||
|
||||
@@ -157,6 +157,9 @@ nl:
|
||||
total: Totaal
|
||||
product_category:
|
||||
other_name: Overig
|
||||
obtain_token:
|
||||
title: Aanmelden bij Qwaiter
|
||||
obtain: Aanmelden
|
||||
section:
|
||||
first_section_title: Ruimte
|
||||
manage_tables:
|
||||
|
||||
@@ -55,6 +55,7 @@ Qwaiter::Application.routes.draw do
|
||||
post '/user/approve_join_request' => 'user#approve_join_request'
|
||||
post '/user/check_table_join_status' => 'user#check_table_join_status'
|
||||
get '/user/obtain_token' => 'user#obtain_token', as: :user_obtain_token
|
||||
post '/user/obtain_token' => 'user#obtain_token', constraints: {format: :json}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user