Implement signin flow

This commit is contained in:
Paul Frazee 2022-09-26 21:03:07 -05:00
parent 2e352f383e
commit 0208302907
19 changed files with 652 additions and 300 deletions

View file

@ -14,9 +14,8 @@ export class MeModel {
async load() {
const sess = this.rootStore.session
if (sess.isAuthed) {
// TODO
this.did = 'did:test:alice'
this.name = 'alice.todo'
this.did = sess.userdid || ''
this.name = sess.username
const profile = await this.rootStore.api.todo.social.getProfile({
user: this.did,
})