-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add username on register + beautify edit profile page
- Loading branch information
1 parent
ddfbe14
commit c10ee88
Showing
7 changed files
with
20 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ export function AccountButton() { | |
const name = userInfo?.family_name ?? 'Family'; | ||
const email = userInfo?.email ?? '[email protected]'; | ||
// TODO: https://github.com/FusionAuth/fusionauth-javascript-sdk/issues/94 | ||
const username = 'userInfo?.preferred_username'; | ||
const username = userInfo?.preferred_username; | ||
// TODO: fetch countdown data in quests collection! | ||
const handleComplete = () => { | ||
console.log(''); | ||
|
@@ -96,6 +96,7 @@ export function AccountButton() { | |
component={Link} | ||
href={`/profile/${username}/edit`} | ||
underline="none" | ||
onClick={closeModal} | ||
> | ||
Edit | ||
</MuiLink> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -260,7 +260,7 @@ data "httpclient_request" "set-default-tenant-theme" { | |
resource "fusionauth_user" "you-say-admin-user" { | ||
tenant_id = fusionauth_tenant.you-say-tenant.id | ||
email = "[email protected]" | ||
username = "admin@you-say.com" | ||
username = "admin" | ||
first_name = "Admin" | ||
last_name = "Admin" | ||
password = "adminadmin" | ||
|
@@ -275,7 +275,7 @@ resource "fusionauth_registration" "you-say-admin-registration" { | |
resource "fusionauth_user" "you-say-temp-user" { | ||
tenant_id = fusionauth_tenant.you-say-tenant.id | ||
email = "[email protected]" | ||
username = "[email protected]" | ||
username = "souma_kazuya" | ||
first_name = "Souma" | ||
last_name = "Kazuya" | ||
password = "souma.kazuya" | ||
|
@@ -305,7 +305,7 @@ data "httpclient_request" "create-super-admin-user" { | |
"skipVerification" : true, | ||
"registration" : { | ||
"roles" : ["admin"], | ||
"username" : "admin@admin.com" | ||
"username" : "admin" | ||
"applicationId" : "${local.fusionauth_default_application_id}", | ||
} | ||
"user" : { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters