Do not server models on invalid sessions.
This commit is contained in:
parent
6f63af9495
commit
6e84792871
1 changed files with 0 additions and 1 deletions
|
@ -78,7 +78,6 @@ class SessionsController < ApplicationController
|
||||||
render json: {
|
render json: {
|
||||||
error: 'no valid session',
|
error: 'no valid session',
|
||||||
config: config_frontend,
|
config: config_frontend,
|
||||||
models: models,
|
|
||||||
collections: {
|
collections: {
|
||||||
Locale.to_app_model => Locale.where(active: true)
|
Locale.to_app_model => Locale.where(active: true)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue