mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-25 03:55:57 +00:00
fix: setup permission(allow only super admin)
This commit is contained in:
@@ -181,7 +181,7 @@ async function localInit({
|
||||
try {
|
||||
let response: AxiosResponse<any, any>;
|
||||
// Login as root user
|
||||
if (isSuperUser && !isEE()) {
|
||||
if (isSuperUser && process.env.NC_CLOUD !== 'true') {
|
||||
// required for configuring license key settings
|
||||
response = await axios.post('http://localhost:8080/api/v1/auth/user/signin', {
|
||||
email: `user@nocodb.com`,
|
||||
|
||||
Reference in New Issue
Block a user