summaryrefslogtreecommitdiff
path: root/addons/auth_oauth
diff options
context:
space:
mode:
Diffstat (limited to 'addons/auth_oauth')
-rw-r--r--addons/auth_oauth/data/auth_oauth_data.xml4
-rw-r--r--addons/auth_oauth/models/auth_oauth.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/addons/auth_oauth/data/auth_oauth_data.xml b/addons/auth_oauth/data/auth_oauth_data.xml
index 67c1c98e7cc..0f9313aa9de 100644
--- a/addons/auth_oauth/data/auth_oauth_data.xml
+++ b/addons/auth_oauth/data/auth_oauth_data.xml
@@ -17,7 +17,7 @@
<field name="scope">public_profile,email</field>
<field name="validation_endpoint">https://graph.facebook.com/me</field>
<field name="data_endpoint">https://graph.facebook.com/me?fields=id,name,email</field>
- <field name="css_class">fa fa-fw fa-facebook-square</field>
+ <field name="css_class">fab fa-fw fa-facebook-square</field>
<field name="body">Log in with Facebook</field>
</record>
<record id="provider_google" model="auth.oauth.provider">
@@ -26,7 +26,7 @@
<field name="scope">https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile</field>
<field name="validation_endpoint">https://www.googleapis.com/oauth2/v1/tokeninfo</field>
<field name="data_endpoint">https://www.googleapis.com/oauth2/v1/userinfo</field>
- <field name="css_class">fa fa-fw fa-google-plus-square</field>
+ <field name="css_class">fab fa-fw fa-google-plus-square</field>
<field name="body">Log in with Google</field>
</record>
diff --git a/addons/auth_oauth/models/auth_oauth.py b/addons/auth_oauth/models/auth_oauth.py
index ae74510e4ad..63499c3e615 100644
--- a/addons/auth_oauth/models/auth_oauth.py
+++ b/addons/auth_oauth/models/auth_oauth.py
@@ -18,6 +18,6 @@ class AuthOAuthProvider(models.Model):
validation_endpoint = fields.Char(string='Validation URL', required=True) # OAuth provider URL to validate tokens
data_endpoint = fields.Char(string='Data URL')
enabled = fields.Boolean(string='Allowed')
- css_class = fields.Char(string='CSS class', default='fa fa-fw fa-sign-in text-primary')
+ css_class = fields.Char(string='CSS class', default='fas fa-fw fa-sign-in-alt text-primary')
body = fields.Char(required=True, help='Link text in Login Dialog', translate=True)
sequence = fields.Integer()