sources/oauth: use mailcow full_name as username for mailcow source (#3299)
use mailcow full_name as username
This commit is contained in:
parent
1dcec17a58
commit
b7b5168910
|
@ -52,6 +52,7 @@ class MailcowOAuth2Callback(OAuthCallback):
|
||||||
info: dict[str, Any],
|
info: dict[str, Any],
|
||||||
) -> dict[str, Any]:
|
) -> dict[str, Any]:
|
||||||
return {
|
return {
|
||||||
|
"username": info.get("full_name"),
|
||||||
"email": info.get("email"),
|
"email": info.get("email"),
|
||||||
"name": info.get("full_name"),
|
"name": info.get("full_name"),
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue