Comments (11)
It did it thanks !
from ampache-docker.
I think I need to put a warning up for this config option. Thanks for keeping abreast of your issues.
from ampache-docker.
there's not an admin.php in the root, it's all in the subfolder. you can't access the admin pages from the sidebar?
from ampache-docker.
there is some chances that it's linked to my next issue #47 : /var/www/login (None could be negotiated)
from ampache-docker.
That picture in 47 looks like you don't have use_auth set in your config
from ampache-docker.
in which file / page the use_auth must be set ?
from ampache-docker.
config/ampache.cfg.php
from ampache-docker.
nothing comparing to all your work ! Thanks for maintaining this cool project.
from ampache-docker.
@lachlan-00 Last I looked at the code, there appeared to be some logic that would show a login button at the top of the page when the current user was logged in. Looks like that code was broken at some point, because I could never get it to show. But sometimes I can login as admin by manually navigating to the login page when use_auth
was off. Though for whatever reason it wouldn't always work.
Ideally you should still be able to login, even when use_auth
is off.
from ampache-docker.
I've put a little lock to notify that admin is disabled. (disabled with simple_user_mode in the conf)
The login thing is related to getting the globals for user here, i think because default level is 5 and this is looking at less than it's never going to show up. putting <= in there now
public static function is_registered()
{
if (!Core::get_global('user')->id) {
return false;
}
if (!AmpConfig::get('use_auth') && Core::get_global('user')->access < 5) {
return false;
}
return true;
}
from ampache-docker.
reverted the is_registered change.
the use_auth issue will eventually get solved but it's a bit too convoluted for now.
from ampache-docker.
Related Issues (20)
- Database setup seems to fail on install HOT 1
- MariaDB not starting with ampache:5.6.2 HOT 11
- Web browser not playing songs when using non-standard port HOT 3
- Unable to upgrade to 6.0.1 HOT 3
- Multiple Entries per Song after fresh creation HOT 2
- 6.1.0 Docker Images HOT 2
- Reverse proxy for Apache?
- Unable to query the database, check your Ampache config (after first run) HOT 6
- Ampache 6.2.0 docker builds needed HOT 1
- Docker image doesn't run on (older) Synology NAS HOT 10
- Apache2 entered FATAL state, too many start retries too quickly HOT 1
- Support for Docker Rootless mode HOT 2
- Config file outdated - ampache 6.x.x ships config_version 62 HOT 3
- Database fails on Compilation custom metadata tag HOT 3
- Setting web_path results in 404 after setup HOT 6
- Ampache update with reverse proxy path failure
- Catalog management HOT 3
- Beetsremote catalog does not work HOT 2
- Issue With Data & Media Directory HOT 2
- Is FFMPEG Transcoding available via the :latest Docker image? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ampache-docker.