Created
August 26, 2019 14:41
-
-
Save Hotfirenet/9fe58b0c62f641339eccded0ab765fd9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once dirname(__FILE__) . 'core/php/core.inc.php'; | |
$user = user::byLogin('MonLogin'); | |
$user->setPassword(sha1('monMDP')); | |
$user->save(); | |
print_r($user); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment