We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
helper.js
1 parent 7b9f956 commit 4711599Copy full SHA for 4711599
1 file changed
deps/rabbitmq_management/priv/www/js/oidc-oauth/helper.js
@@ -100,7 +100,7 @@ function get_oauth_settings() {
100
export function oauth_initialize_if_required(state = "index") {
101
let oauth = oauth_initialize(get_oauth_settings())
102
if (!oauth.enabled) return oauth;
103
-
+
104
switch (state) {
105
case 'login-callback':
106
oauth_completeLogin(); break;
@@ -109,8 +109,8 @@ export function oauth_initialize_if_required(state = "index") {
109
default:
110
if (has_auth_credentials(BASIC_AUTH_SCHEME)) {
111
break;
112
- }else {
113
- oauth = oauth_initiate(oauth);
+ } else {
+ oauth = oauth_initiate(oauth);
114
}
115
116
return oauth;
0 commit comments