We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

[Answered] Where are codes for user login/registration (password) | Forum

Boris
Boris Jun 21 '15
Hi,

Can someone of devs help me with this.

I looking where is located in files, the password encription part of this software.

Somewhere I read that is sha256 encription of password. I cant fint that part of code in oxwall files.

I trying to join users from two different software what have different password encription so i need to find that part of code where encription is managed for user password.

Thanks.
The Forum post is edited by Alia Jun 30 '15
Alia Team
Alia Jun 22 '15
ow_system_plugins/base/bol/user_service.php

 public function hashPassword( $password )
    {
        return hash('sha256', OW_PASSWORD_SALT . $password);
    }

Salt is specified in ow_includes/config.php .

Useful topics on this matter: http://www.oxwall.org/forum/topic/12655


Boris
Boris Jun 22 '15
thank you Aliia!