mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-16 18:55:37 +02:00
⭐ feat(www): Finish up on the onboarding (#210)
Merging this prematurely to make sure the team is on the same boat... like dang! We need to find a better way to do this. Plus it has become too big
This commit is contained in:
@@ -136,12 +136,17 @@ const app = issuer({
|
||||
return ctx.subject("user", {
|
||||
userID,
|
||||
email
|
||||
}, {
|
||||
subject: email
|
||||
});
|
||||
|
||||
} else if (matching) {
|
||||
//Sign In
|
||||
return ctx.subject("user", {
|
||||
userID: matching.id,
|
||||
email
|
||||
}, {
|
||||
subject: email
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -175,12 +180,16 @@ const app = issuer({
|
||||
return ctx.subject("user", {
|
||||
userID,
|
||||
email: user.primary.email
|
||||
}, {
|
||||
subject: user.primary.email
|
||||
});
|
||||
} else {
|
||||
//Sign In
|
||||
return await ctx.subject("user", {
|
||||
userID: matching.id,
|
||||
email: user.primary.email
|
||||
}, {
|
||||
subject: user.primary.email
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user