mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-01-08 00:08:14 +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