blob: e13ba44c6b44fcce6306ff5c71e3490e615b1035 (
plain) (
tree)
|
|
<?php
/***************************************
* Description:
* Autor: Robert Šmalc
* Created date: 16.11.2016
*****************************************/
include_once ("../function.php");
$geslo = 'admin';
global $pass_salt;
$password = base64_encode((hash(SHA256, $geslo .$pass_salt)));
sisplet_query("UPDATE users SET pass='".$password."' WHERE id=1045");
|