New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dashboard link redirects to login #1791
Comments
I can't think of anything that would cause this other than cookies being disabled. Are your column selections on the asset lists sticking? |
Yep they are fine. |
Hi - Modify app/views/backend/layouts/default.blade.php where the source is like this <img src = "{{Config::get('app.url')}} uploads to <img src = "{{Config::get(app.url')}}/../../uploads or <img src = "{{Config::get('app.url')}}/../uploads depending on your server configuration. This occurs on two lines in the source. So you have to change both lines. Cheers |
@windclockback just making changes to the app for yourself is counterproductive. If you have a fix for a known problem, everyone else benefits if you submit a pull request. |
Thanks windclockback, but unfortunately this hasn't resolved the problem. The fix you have mentioned is affecting the IMG tag rather than the link in the A tag. I can see a cookie in chromes inspector, the session just seems to end after clicking dashboard link: If you I login once again, this problem doesn't seem to repeat itself, pressing the dashboard link just takes you to the dashboard. |
This fix is a bit of a hack, but resolves the issue by removing the token and replacing it with a slash. Not knowing the snipeit system extensively I'm unsure what is the best way to resolve this issue.
|
HI - Sorry for my part answer yesterday. I found that placing the entire snipeit folder in the correct directory was step 1. so it path is /var/www/html/snipeit also in the file app/config/production/app.php edit the line to this 'url' => 'http://localhost/snipeit/public/index.php/', This then breaks the image logo path as described above but corrects the dashboard click issue. |
Public should not ever be in your URL. |
Ok: - I will go with fyberoptik solution. I wasn't happy with my workaround but will give this a try on my test server. Cheers |
Expected Behavior
Clicking the dashboard like on the far left menu should redirect to the dashboard menu
Actual Behavior
Clicking the dashboard like on the far left menu brings the snipe-it login page
I have noticed one you have ran through the additional dashboard login it does not request further login attempts until the browser has been closed.
Before posting this issue, confirm/answer the following:
The text was updated successfully, but these errors were encountered: