mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 03:29:16 +00:00
updating account reset response to match login
This commit is contained in:
parent
7ddd875e73
commit
34e382ae72
@ -68,5 +68,11 @@ func SetAccountAccess(w http.ResponseWriter, r *http.Request) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
WriteResponse(w, account.GUID+"."+access)
|
login := LoginAccess{
|
||||||
|
GUID: account.GUID,
|
||||||
|
AppToken: account.GUID + "." + access,
|
||||||
|
Created: app.Created,
|
||||||
|
}
|
||||||
|
|
||||||
|
WriteResponse(w, login)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user