@kohanajs/mod-admin
Advanced tools
Comparing version 5.7.0 to 5.7.1
@@ -5,2 +5,9 @@ # Changelog | ||
### [5.7.1](https://gitlab.com/kohana-js/modules/admin/compare/v5.7.0...v5.7.1) (2024-01-19) | ||
### Bug Fixes | ||
* user database name hard code to admin.sqlite ([b35b7de](https://gitlab.com/kohana-js/modules/admin/commit/b35b7deac6039996feb8a78da7fa20ca4d428347)) | ||
## [5.7.0](https://gitlab.com/kohana-js/modules/admin/compare/v5.6.1...v5.7.0) (2023-08-22) | ||
@@ -7,0 +14,0 @@ |
@@ -15,3 +15,3 @@ const { ControllerMixinDatabase, ORM, KohanaJS } = require('kohanajs'); | ||
this.state.get(ControllerMixinDatabase.DATABASE_MAP) | ||
.set('admin', `${KohanaJS.config.auth.databasePath}/admin.sqlite`); | ||
.set('admin', `${KohanaJS.config.auth.databasePath}/${KohanaJS.config.auth.userDatabase}`); | ||
} | ||
@@ -18,0 +18,0 @@ |
@@ -15,3 +15,3 @@ const {Controller} = require("@kohanajs/core-mvc"); | ||
this.state.get(ControllerMixinDatabase.DATABASE_MAP) | ||
.set('admin', KohanaJS.config.auth.databasePath + '/admin.sqlite'); | ||
.set('admin', `${KohanaJS.config.auth.databasePath}/${KohanaJS.config.auth.userDatabase}`); | ||
} | ||
@@ -18,0 +18,0 @@ |
@@ -60,3 +60,3 @@ const { Controller } = require('@kohanajs/core-mvc'); | ||
new Map([ | ||
['admin', `${KohanaJS.config.auth.databasePath}/admin.sqlite`], | ||
['admin', `${KohanaJS.config.auth.databasePath}/${KohanaJS.config.auth.userDatabase}`], | ||
['session', `${KohanaJS.config.auth.databasePath}/session.sqlite`], | ||
@@ -63,0 +63,0 @@ ]).forEach((v, k) => databaseMap.set(k, v)); |
{ | ||
"name": "@kohanajs/mod-admin", | ||
"version": "5.7.0", | ||
"version": "5.7.1", | ||
"description": "Admin templates for KohanaJS ORM", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "jest --coverage" | ||
}, | ||
@@ -9,0 +9,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
60205
0