Skip to content

Instantly share code, notes, and snippets.

@Hotfirenet
Created August 26, 2019 14:41
Embed
What would you like to do?
<?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