Commit Graph

6 Commits

Author SHA1 Message Date
🐙PiperYxzzy
6db02148ea Building and returning JWTs on login
* Created Util package for assorted items
* Currently generates an HMAC key on startup, to be changed
* JWT also includes login role
2022-04-30 16:30:07 +02:00
🐙PiperYxzzy
d1c31e0fd4 Temp tweak to enable an easy way to turn email verification off for testing 2022-04-30 16:05:41 +02:00
🐙PiperYxzzy
4b270733a7 Slight refactor to re-use Auth structures
* Now Auth.Login is a consolidated attempt to verify password, 2fa code
and verified status
2022-04-30 16:03:42 +02:00
🐙PiperYxzzy
47ac0cdc07 Adding models, DB access, signup, login
* Created Base, Auth, User and Admin models
* Added skeleton API structure containing: User signup, User & Admin
login, authorized zones, ping tests
* Simple user signup functional
* Skeleton user login functional, no means to verify as of yet
* Added POSTMAN file
2022-04-30 16:02:26 +02:00
🐙PiperYxzzy
b74158a7a5 Init, installing gin-gonic 2022-04-29 22:47:52 +02:00
yxzzy-wtf
28a7ed8ba8 Initial commit 2022-04-29 22:40:21 +02:00