Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
794ecc6e
You need to sign in or sign up before continuing.
Commit
794ecc6e
authored
Sep 07, 2020
by
NGPixel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: new install local auth not enabled (#2375)
parent
7fdf8ab3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
+13
-0
2.5.118.js
server/db/migrations-sqlite/2.5.118.js
+6
-0
2.5.118.js
server/db/migrations/2.5.118.js
+6
-0
setup.js
server/setup.js
+1
-0
No files found.
server/db/migrations-sqlite/2.5.118.js
0 → 100644
View file @
794ecc6e
exports
.
up
=
async
knex
=>
{
// -> Fix 2.5.117 new installations without isEnabled on local auth (#2382)
await
knex
(
'authentication'
).
where
(
'key'
,
'local'
).
update
({
isEnabled
:
true
})
}
exports
.
down
=
knex
=>
{
}
server/db/migrations/2.5.118.js
0 → 100644
View file @
794ecc6e
exports
.
up
=
async
knex
=>
{
// -> Fix 2.5.117 new installations without isEnabled on local auth (#2382)
await
knex
(
'authentication'
).
where
(
'key'
,
'local'
).
update
({
isEnabled
:
true
})
}
exports
.
down
=
knex
=>
{
}
server/setup.js
View file @
794ecc6e
...
@@ -258,6 +258,7 @@ module.exports = () => {
...
@@ -258,6 +258,7 @@ module.exports = () => {
key
:
'local'
,
key
:
'local'
,
config
:
{},
config
:
{},
selfRegistration
:
false
,
selfRegistration
:
false
,
isEnabled
:
true
,
domainWhitelist
:
{
v
:
[]},
domainWhitelist
:
{
v
:
[]},
autoEnrollGroups
:
{
v
:
[]},
autoEnrollGroups
:
{
v
:
[]},
order
:
0
,
order
:
0
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment