mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-09-18 17:48:00 +08:00
fix(login): judging ldap_enable logic error
review: https://github.com/mindoc-org/mindoc/pull/662#discussion_r603750715
This commit is contained in:
@@ -114,8 +114,8 @@ func RunMigration() {
|
||||
|
||||
//导出数据库的表结构
|
||||
func ExportDatabaseTable() ([]string, error) {
|
||||
dbadapter,_ := web.AppConfig.String("db_adapter")
|
||||
dbdatabase,_ := web.AppConfig.String("db_database")
|
||||
dbadapter, _ := web.AppConfig.String("db_adapter")
|
||||
dbdatabase, _ := web.AppConfig.String("db_database")
|
||||
tables := make([]string, 0)
|
||||
|
||||
o := orm.NewOrm()
|
||||
|
Reference in New Issue
Block a user