Skip to content

Commit

Permalink
Allow default database with no user (#1546)
Browse files Browse the repository at this point in the history
  • Loading branch information
gramian committed Apr 26, 2024
1 parent 71472c4 commit 8735368
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion server/src/main/java/com/arcadedb/server/ArcadeDBServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,8 @@ private void loadDefaultDatabases() {
final int credentialEnd = db.indexOf(']', credentialBegin);
final String credentials = db.substring(credentialBegin + 1, credentialEnd);

parseCredentials(dbName, credentials);
if (!credentials.isEmpty())
parseCredentials(dbName, credentials);

Database database = existsDatabase(dbName) ? getDatabase(dbName) : null;

Expand Down

0 comments on commit 8735368

Please sign in to comment.