ezidam: oauth: redirect: get and check code, get user info, mark code as used, display html template
This commit is contained in:
parent
719048e268
commit
827bba041a
15 changed files with 310 additions and 19 deletions
|
|
@ -0,0 +1,16 @@
|
|||
select u.id,
|
||||
u.created_at as "created_at: DateTime<Utc>",
|
||||
u.updated_at as "updated_at: DateTime<Utc>",
|
||||
u.is_admin as "is_admin: bool",
|
||||
u.username,
|
||||
u.name,
|
||||
u.email,
|
||||
u.password,
|
||||
u.password_recover,
|
||||
u.paper_key,
|
||||
u.is_archived as "is_archived: bool"
|
||||
from users u
|
||||
|
||||
inner join authorization_codes ac on u.id = ac.user
|
||||
|
||||
where ac.code is ?
|
||||
Loading…
Add table
Add a link
Reference in a new issue