feature/api_auth_reqs #67
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/api_auth_reqs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implemented auth functions
Please also fix the insert token script
tokensinstead ofactivations@ -0,0 +3,4 @@begindeclare v_status_id bigint;select statusid into v_status_id from user status where name = 'Pending';user statushere should beuser_status@ -0,0 +12,4 @@inner joinusers as u on c.coachid = u.useridinner joinuser_roles as r on r.roleid = u.roleShould be
user_rolenotuser_roles.@ -0,0 +17,4 @@androtationtime is nullandexpirationtime > current_timestamp;expirationtimeshould beexpirytimesha3 doesn't exist will do it tmrw
LGTM
@ -0,0 +12,4 @@inner joinusers as u on c.coachid = u.useridinner joinuser_role as r on r.roleid = u.rolerolein the user table is calledurole