mirror of
https://github.com/advplyr/audiobookshelf-app.git
synced 2026-12-03 05:24:11 +01:00
Fix oidc button not showing on re-login, fix oidc re-login showing config already exists #1638 #1634
This commit is contained in:
1 parent
7aebcd92c3
commit
4be1598eca
8 files changed
+46
-24
No files matched your search
@@ -407,6 +407,9 @@ class ApiHandler(var ctx:Context) {
|
||||
if (checkAbsDatabaseNotifyListenersInitted()) {
|
||||
val tokenJsObject = JSObject()
|
||||
tokenJsObject.put("error", "Token refresh failed")
|
||||
if (serverConnectionConfigId.isNotEmpty()) {
|
||||
tokenJsObject.put("serverConnectionConfigId", serverConnectionConfigId)
|
||||
}
|
||||
absDatabaseNotifyListeners("onTokenRefreshFailure", tokenJsObject)
|
||||
} else {
|
||||
// Can happen if Webview is never run
|
||||
|
||||
Reference in new issue
Block a user