summary refs log tree commit diff stats
path: root/auth
Commit message (Collapse)AuthorAgeFilesLines
* Initial perseus rewriteAndinus2020-03-295-115/+0
|
* Prepare for rewrite on several functionsAndinus2020-03-285-211/+0
| | | | | | | | User struct now exports everything, encapsulation is not necessary over here. Instead of introducing a new variable uInfo we'll use user.User and pass that. Handlers & related functions will be rewritten to work with this change. This will make it easier to work on later as the program grows. I'm also rethinking error handling.
* Add login handlerAndinus2020-03-272-5/+5
|
* Enforce registration rulesAndinus2020-03-271-4/+17
|
* Add AddUser funcAndinus2020-03-271-35/+1
|
* Move token functions to its own packageAndinus2020-03-273-47/+61
|
* Add token related functionsAndinus2020-03-272-0/+109
|
* Add Login funcAndinus2020-03-271-0/+46
|
* Change database schemaAndinus2020-03-271-23/+5
|
* Add test for hashPass funcAndinus2020-03-272-3/+38
|
* Improve checkPass func testsAndinus2020-03-271-4/+24
|
* Fix common typosAndinus2020-03-271-1/+1
|
* Add checkPass func and it's testsAndinus2020-03-272-0/+33
|
* Add auth and user packageAndinus2020-03-263-0/+108