KasperskyLab / klara

Kaspersky's GReAT KLara
https://great.kaspersky.com
Other
693 stars 136 forks source link

Installation suggestion and registration page #4

Closed pe3zx closed 5 years ago

pe3zx commented 6 years ago

Hi GReAT!

On database setup document, running cat * > db.schema.sql can causes database error because wrong order on file concatenation (2.4.1.txt is appending before 2.4.txt). This step may require some improvement.

After installation finished, I couldn't have found any registration page for WebUI and there is no sign about where can I register myself in.

taibaiyifeng commented 6 years ago

you can use sql language to add user,there have default username is api,but password is wrong,you need changge the code in application/controllers/Login.php about line 102 there have a keyword compare_hash to compare password,you can move the ! and then you can use user api in, if not ,you need update users table auth value to 3 or higher

xdanx commented 6 years ago

Hey! yea, you are right. The setup page needs a little bit of improvement. I will update it in the next commit and let you know.

I'll also add info about how users management and how to login with the first user. Sorry for the lack of info.

xdanx commented 6 years ago

Fixed in commit 9dd6a220 . I have also added more documentation about features and users.

Hope this helps :)

If this solved your problem, please go ahead and close the issue.