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
It would be nice to have edit buttons on the front end when we're logged in
I haven't been able to find a way to do it with just the front end. I tried to make a test request to data.detroitledger.org/admin/content -- if it redirected, I'd know I can't log in. However, it rightly doesn't have CORS headers, so ajax isn't playing nice.
A simple solution would be a new API endpoint that returns current user info if you're logged in.
The text was updated successfully, but these errors were encountered:
It would be nice to have edit buttons on the front end when we're logged in
I haven't been able to find a way to do it with just the front end. I tried to make a test request to data.detroitledger.org/admin/content -- if it redirected, I'd know I can't log in. However, it rightly doesn't have CORS headers, so ajax isn't playing nice.
A simple solution would be a new API endpoint that returns current user info if you're logged in.
The text was updated successfully, but these errors were encountered: