You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use the webcalendar internally. I recently upgraded our instance to v1.9.10. As it is only accessible from within our network, we use basic, a.k.a. http, auth. The webcalendar is embedded in another application. Users have to be authenticated prior to trying to access the webcalendar.
In our settings file we have use_http_auth = true. I found where that file is accessed in includes/config.php. I confirmed that it is reading the value correctly from the file and putting that value in the local array, i.e. $settings['use_http_auth'].
However, the value is never moved from the array into the global var. Because of this, users are redirected to login.php instead of being shown the calendar.
If I add $use_http_auth = $settings['use_http_auth']; just before return $settings;, everything works as expected.
Is this a bug, or am I missing something? Perhaps just due to the fact that use of http auth is uncommon...?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
We use the webcalendar internally. I recently upgraded our instance to v1.9.10. As it is only accessible from within our network, we use basic, a.k.a. http, auth. The webcalendar is embedded in another application. Users have to be authenticated prior to trying to access the webcalendar.
In our settings file we have use_http_auth = true. I found where that file is accessed in includes/config.php. I confirmed that it is reading the value correctly from the file and putting that value in the local array, i.e. $settings['use_http_auth'].
However, the value is never moved from the array into the global var. Because of this, users are redirected to login.php instead of being shown the calendar.
If I add $use_http_auth = $settings['use_http_auth']; just before return $settings;, everything works as expected.
Is this a bug, or am I missing something? Perhaps just due to the fact that use of http auth is uncommon...?
Beta Was this translation helpful? Give feedback.
All reactions