summaryrefslogtreecommitdiffstats
path: root/app/controller/auth.control.php
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-01-30 21:20:41 -0500
committerMalf Furious <m@lfurio.us>2016-01-30 21:20:41 -0500
commit2b6afdd9ef767e1e84c4751c72da6be13d9b4402 (patch)
tree60000237bb605c3d427a291f63fa98570495397c /app/controller/auth.control.php
parentb6bb1893ad7b4a901a28b0fa2e725141a7b39509 (diff)
downloadscrott-2b6afdd9ef767e1e84c4751c72da6be13d9b4402.tar.gz
scrott-2b6afdd9ef767e1e84c4751c72da6be13d9b4402.zip
Add functionality to create new User objects
User class now has a new function which will take a $username and a $password and use it to initialize itself as well as write new object data to the database. This commit introduces a helper function getKey() (from class User) for creating user object keys by hashing the contatenation of its password and salt. This commit introduces a helper function usernameInUse() (from class User) for ensuring the uniqueness of names amongst user-type objects
Diffstat (limited to 'app/controller/auth.control.php')
0 files changed, 0 insertions, 0 deletions