Skip to content

Commit 4711599

Browse files
Cosmetics (helper.js)
1 parent 7b9f956 commit 4711599

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • deps/rabbitmq_management/priv/www/js/oidc-oauth

deps/rabbitmq_management/priv/www/js/oidc-oauth/helper.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function get_oauth_settings() {
100100
export function oauth_initialize_if_required(state = "index") {
101101
let oauth = oauth_initialize(get_oauth_settings())
102102
if (!oauth.enabled) return oauth;
103-
103+
104104
switch (state) {
105105
case 'login-callback':
106106
oauth_completeLogin(); break;
@@ -109,8 +109,8 @@ export function oauth_initialize_if_required(state = "index") {
109109
default:
110110
if (has_auth_credentials(BASIC_AUTH_SCHEME)) {
111111
break;
112-
}else {
113-
oauth = oauth_initiate(oauth);
112+
} else {
113+
oauth = oauth_initiate(oauth);
114114
}
115115
}
116116
return oauth;

0 commit comments

Comments
 (0)