<div dir="ltr">We forgot to set the `oauth_key` for the website.<div><br></div><div>Apologies,</div><div><br></div><div>Trey</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, May 8, 2017 at 10:31 AM, Trey Caldwell <span dir="ltr"><<a href="mailto:me@treycaldwell.com" target="_blank">me@treycaldwell.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I am having an issue where map notes are being posted by "Anonymous" even though a user is currently logged in with an active session. Also, attempting to post a changeset comment presents the user with a basic auth dialog to enter their credentials even though they are currently logged in. I experience this behavior whether I run rails locally, in vagrant, or deploy to apache with phusion passenger. However, I do not see this behavior in OSM production or the dev server for the master branch. The before_action methods being called are `setup_user_auth` for maps notes and `authorize` for changesets. These methods do not appear to check if the user has a current session (session[:user]).</div><div><br></div><div>Why am I seeing this behavior and how do I remedy it?</div><div><br></div><div>Thank you in advance,</div><div><br></div><div>Trey</div></div>
</blockquote></div><br></div>