Initial commit: apps.supersam24.ru

This commit is contained in:
root committed 2026-10-22 00:04:27 +03:00
commit 72afea602d
2747 files changed
+682150

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
<?php
namespace App\Model\Entity;
use Cake\ORM\Entity;
use Cake\Auth\DefaultPasswordHasher;
class User extends Entity {
protected $_accessible = [
'*' => true,
'id' => false
];
protected function _setPassword($password) {
return (new DefaultPasswordHasher)->hash($password);
}
}