mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 11:20:18 +08:00
fix: handle more errors in downloadImage()
This commit is contained in:
@ -221,7 +221,7 @@ func GenerateCasToken(userId string, service string) (string, error) {
|
||||
value = ""
|
||||
}
|
||||
|
||||
if v != "" {
|
||||
if value != "" {
|
||||
authenticationSuccess.Attributes.UserAttributes.Attributes = append(authenticationSuccess.Attributes.UserAttributes.Attributes, &CasNamedAttribute{
|
||||
Name: k,
|
||||
Value: value,
|
||||
|
Reference in New Issue
Block a user