cosmocode / dokuwiki-plugin-oauth

Generic oAuth1 and oAuth2 plugin for DokuWiki
http://www.dokuwiki.org/plugin:oauth
30 stars 79 forks source link

Fix setting of secure user cookie #99

Closed AIDungeonWiXAnon closed 2 years ago

AIDungeonWiXAnon commented 3 years ago

Currently, you cannot make a user's cookie a secure one due to $conf['securecookie'] always returning null when setting the user's cookie. This change adds the global $conf declaration to the setUserCookie() function so that the configuration option can be read properly.