Implement signin flow
This commit is contained in:
parent
2e352f383e
commit
0208302907
19 changed files with 652 additions and 300 deletions
|
@ -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,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue