RC-4: make the whole app auth protected in settingsConfig
This commit is contained in:
@@ -19,7 +19,7 @@ const settingsConfig = {
|
||||
To make whole app accessible without authorization by default set defaultAuth: null
|
||||
*** The individual route configs which has auth option won't be overridden.
|
||||
*/
|
||||
defaultAuth: ['admin'],
|
||||
defaultAuth: ['admin', 'staff', 'user'],
|
||||
/*
|
||||
Default redirect url for the logged-in user,
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user