mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2024-12-20 19:06:06 +01:00
Add /auth_methods route
This commit is contained in:
parent
45cf00bd04
commit
2c25f64652
@ -228,6 +228,11 @@ class Auth {
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
// Get avilible auth methods
|
||||
router.get('/auth_methods', (req, res) => {
|
||||
res.json(global.ServerSettings.authActiveAuthMethods)
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user