feat: fix roblox image
This commit is contained in:
parent
d0e6392f1a
commit
d924e36786
BIN
dashboard/public/roblox.png
Normal file
BIN
dashboard/public/roblox.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
|
@ -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%'}
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user