Transformed user class as components class

This commit is contained in:
Pierre
2017-06-03 14:24:45 +02:00
parent db4c939864
commit 97d7825426
4 changed files with 8 additions and 10 deletions

View File

@ -242,4 +242,7 @@ class User{
return crypt(sha1($userPassword), sha1($userPassword));
}
}
}
//Register class
Components::register("user", new User());