mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-07-23 04:14:46 +02:00
Add /auth_methods route
This commit is contained in:
parent
45cf00bd04
commit
2c25f64652
1 changed files with 5 additions and 0 deletions
|
@ -228,6 +228,11 @@ class Auth {
|
|||
}
|
||||
})
|
||||
})
|
||||
|
||||
// Get avilible auth methods
|
||||
router.get('/auth_methods', (req, res) => {
|
||||
res.json(global.ServerSettings.authActiveAuthMethods)
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue