Cant login to admin
I ran the follow command but still cant login to front end.
UPDATE pool.users SET email='your new password here' WHERE username='Administrator';
http://yourpool.com/admin.html
this is the page where you can login with the admin account
did you check your mysql database if the value was updated?
select * from pool.users;
The Admin login page is not working and still throws "Please check your login details" .
The authenticate Api is responding with 401 even though correct userid /password is being entered. I have verified that same entries are present in MYSQL as well
Request
Request URL: http://HOSTNAME/api/authenticate Request Method: POST Status Code: 401 Unauthorized
Request payload
{"username":"Administrator","password":"Password1234"}
MySQL Entries
mysql> select * from pool.users; +----+---------------+------+--------------+-------+------------------+--------------+ | id | username | pass | email | admin | payout_threshold | enable_email | +----+---------------+------+--------------+-------+------------------+--------------+ | 1 | Administrator | NULL | Password1234 | 1 | 0 | 1 | +----+---------------+------+--------------+-------+------------------+--------------+
same thing here
i have the same issue here
you need HTTPS because the JSON scripts need a Cert to do mysql tasks
try https://www.YOURIP.com/admin.html
Easy to say than to. Sucen CADDY is configured without SSL just for port 80.
Btw, you user "cors" at caddy (https://github.com/Snipa22/nodejs-pool , cors). Shouldn't be this the issue?
If you do HTTPS (by putting hostname to caddy) then web will work on HTTPS but requests would be forwarded to HTTP and will not pas thru (login pages would show up, but none login would pass).
To keep all on http would work (by ":80", but its kinda lame).