feat: fix roblox image

This commit is contained in:
Lakhan Samani 2024-05-01 17:04:33 +05:30
parent d0e6392f1a
commit d924e36786
No known key found for this signature in database
3 changed files with 5 additions and 2 deletions

BIN
dashboard/public/roblox.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -483,7 +483,10 @@ const OAuthConfig = ({
border="1px solid #3b5998"
borderRadius="5px"
>
Roblox
<img
src="https://authorizer.dev/_next/image?url=%2Fimages%2Froblox.png&w=25&q=25"
alt="Roblox"
/>
</Center>
<Center
w={isNotSmallerScreen ? '70%' : '100%'}

View File

@ -873,7 +873,7 @@ func processRobloxUserInfo(ctx context.Context, code, verifier string) (*models.
if val, ok := userRawData["email"]; ok {
email = val.(string)
} else {
email = userRawData["preferred_username"].(string)
email = userRawData["sub"].(string)
}
user := &models.User{
GivenName: &firstName,