Skip to content

Commit 3800112

Browse files
prefs.js: explain
1 parent 4711599 commit 3800112

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • deps/rabbitmq_management/priv/www/js

deps/rabbitmq_management/priv/www/js/prefs.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ function get_auth_resource() {
2828
return get_local_pref(AUTH_RESOURCE)
2929
}
3030

31+
// When auth_scheme is undefined, matches any scheme for backwards compatibility.
3132
function has_auth_credentials(auth_scheme) {
3233
let authenticated =get_local_pref(CREDENTIALS) != undefined && get_local_pref(AUTH_SCHEME) != undefined &&
3334
get_cookie_value(LOGGED_IN) != undefined;

0 commit comments

Comments
 (0)