From 4d6a3356eda75f09420735464b7f125dd7b9df8e Mon Sep 17 00:00:00 2001 From: KShivendu Date: Tue, 27 Jun 2023 16:47:31 +0530 Subject: [PATCH] fix: Revert irrelevant changes --- src/main/java/io/supertokens/storage/postgresql/Start.java | 1 + .../storage/postgresql/config/PostgreSQLConfig.java | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/io/supertokens/storage/postgresql/Start.java b/src/main/java/io/supertokens/storage/postgresql/Start.java index b4a9e788..2d91c22b 100644 --- a/src/main/java/io/supertokens/storage/postgresql/Start.java +++ b/src/main/java/io/supertokens/storage/postgresql/Start.java @@ -1392,6 +1392,7 @@ public int countUsersEnabledTotpAndActiveSince(AppIdentifier appIdentifier, long } } + @Override public int countUsersEnabledMfa(AppIdentifier appIdentifier) throws StorageQueryException { try { return ActiveUsersQueries.countUsersEnabledMfa(this, appIdentifier); diff --git a/src/main/java/io/supertokens/storage/postgresql/config/PostgreSQLConfig.java b/src/main/java/io/supertokens/storage/postgresql/config/PostgreSQLConfig.java index 15930650..2a7bd5db 100644 --- a/src/main/java/io/supertokens/storage/postgresql/config/PostgreSQLConfig.java +++ b/src/main/java/io/supertokens/storage/postgresql/config/PostgreSQLConfig.java @@ -127,7 +127,7 @@ public static Set getValidFields() { } public String getTableSchema() { - return postgresql_table_schema.trim(); + return postgresql_table_schema; } public int getConnectionPoolSize() { @@ -211,8 +211,7 @@ public String getSessionInfoTable() { } public String getEmailPasswordUserToTenantTable() { - String tableName = "emailpassword_user_to_tenant"; - return addSchemaAndPrefixToTableName(tableName); + return addSchemaAndPrefixToTableName("emailpassword_user_to_tenant"); } public String getEmailPasswordUsersTable() {