fix: update Google clientId in config and change default user picture path
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
"issuer": "https://login.microsoftonline.com/4a0d328f-1f94-4920-b67e-4275737d02a5/v2.0"
|
||||
},
|
||||
"google": {
|
||||
"clientId": "1000025801082-09qojecdodogc3j8g32d6case1chtb25.apps.googleusercontent.com",
|
||||
"clientId": "1000025801082-09ikmt61a9c9vbdjhpdab9b0ui3vdnij.apps.googleusercontent.com",
|
||||
"issuer": "https://accounts.google.com",
|
||||
"dummyClientSecret": "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"
|
||||
},
|
||||
|
||||
@@ -84,7 +84,7 @@ export class AuthenticationService {
|
||||
name: user.name || (user.firstName && user.lastName
|
||||
? `${user.firstName} ${user.lastName}`
|
||||
: user.firstName || user.lastName || user.email),
|
||||
picture: user.picture || user.profilePictureUrl || 'https://via.placeholder.com/150?text=User',
|
||||
picture: user.picture || user.profilePictureUrl || '/assets/images/profile/user-1.jpg',
|
||||
role: user.role || 'Používateľ'
|
||||
};
|
||||
this.profile = enhancedUser;
|
||||
@@ -103,7 +103,7 @@ export class AuthenticationService {
|
||||
name: user.firstName && user.lastName
|
||||
? `${user.firstName} ${user.lastName}`
|
||||
: user.firstName || user.lastName || user.email,
|
||||
picture: user.profilePictureUrl || 'https://via.placeholder.com/150?text=User', // Default avatar
|
||||
picture: user.profilePictureUrl || '/assets/images/profile/user-1.jpg', // Default avatar
|
||||
role: 'Používateľ' // Default role in Slovak
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user