Commit d74305c5 authored by Michal Čihař's avatar Michal Čihař

Add example for Fedora auth

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent f8c2b20a
......@@ -32,6 +32,7 @@ SOCIALS = {
'email': {'name': 'Email'},
'opensuse': {'name': 'openSUSE', 'fl_icon': 'opensuse'},
'ubuntu': {'name': 'Ubuntu', 'fl_icon': 'ubuntu'},
'fedora': {'name': 'Fedora', 'fl_icon': 'fedora'},
}
FA_SOCIAL_TEPMPLATE = u'<i class="fa fa-lg fa-{fa_icon}"></i> {name}'
......
......@@ -206,3 +206,6 @@ img.engage-icon {
.fl-ubuntu {
color: #DD4814;
}
.fl-fedora {
color: #3c6eb4;
}
......@@ -178,6 +178,7 @@ AUTHENTICATION_BACKENDS = (
# 'social.backends.github.GithubOAuth2',
# 'social.backends.suse.OpenSUSEOpenId',
# 'social.backends.ubuntu.UbuntuOpenId',
# 'social.backends.fedora.FedoraOpenId',
'weblate.accounts.auth.WeblateUserBackend',
)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment