mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 05:10:19 +08:00
feat: integrate Storage config into providers (#198)
Signed-off-by: Kininaru <shiftregister233@outlook.com>
This commit is contained in:
@ -84,7 +84,8 @@ class OAuthWidget extends React.Component {
|
||||
|
||||
getUserProperty(user, providerType, propertyName) {
|
||||
const key = `oauth_${providerType}_${propertyName}`;
|
||||
return user.properties[key]
|
||||
if (user.properties === null) return "";
|
||||
return user.properties[key];
|
||||
}
|
||||
|
||||
unlinkUser(providerType) {
|
||||
|
Reference in New Issue
Block a user