justicenode / php-wol

PHP WakeOnLan Interface
GNU General Public License v3.0
33 stars 19 forks source link

Add extra users? #5

Open HellStorm666 opened 5 years ago

HellStorm666 commented 5 years ago

How can I add extra user and/or change name/pass from current user(s)?

Schnax commented 5 years ago

The admin user is added here: https://github.com/justicenode/php-wol/blob/887f88b4be6c1d3aecb956992b632255539abbc8/html/db.php#L46

You sould have a table for users in your Database.

phenolog commented 3 years ago

Hello Unfortunately, cannot change the default admin password. When I enter the old password "admin" new password "admin2" repeat new pass "admin2" I get an "wrong password" message. Please check. Thanks.