mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 21:30:24 +08:00
Add renderAffiliation().
This commit is contained in:
@ -74,6 +74,10 @@ export function isProviderVisibleForSignIn(providerItem) {
|
||||
return isProviderVisible(providerItem);
|
||||
}
|
||||
|
||||
export function isProviderPrompted(providerItem) {
|
||||
return isProviderVisible(providerItem) && providerItem.prompted;
|
||||
}
|
||||
|
||||
export function parseJson(s) {
|
||||
if (s === "") {
|
||||
return null;
|
||||
|
Reference in New Issue
Block a user