mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-05 05:50:19 +08:00
Add Unlink API.
This commit is contained in:
@ -171,3 +171,10 @@ export function getClickable(text) {
|
||||
</a>
|
||||
)
|
||||
}
|
||||
|
||||
export function getIdpLogo(idp) {
|
||||
const url = `https://cdn.jsdelivr.net/gh/casbin/static/img/social_${idp}.png`;
|
||||
return (
|
||||
<img width={30} height={30} src={url} alt={idp} />
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user