summaryrefslogtreecommitdiff
path: root/addons/auth_oauth
diff options
context:
space:
mode:
authorKevin Baptiste <kba@odoo.com>2019-12-05 07:18:28 +0000
committerKevin Baptiste <kba@odoo.com>2019-12-09 10:33:36 +0000
commit6cbe824871da51af27ac5b2feb7ecc9fcd6b18d0 (patch)
tree5e3300c274fdedb5f8a13e0dc964f89941e17538 /addons/auth_oauth
parent78ae3da90213261071fdadb06cbb0507182303e2 (diff)
[REV] web: reverts update to fontawesome 5.11.2
This reverts commit ff1c35513aecef5fbc30f7c2f3834450e719714e. closes odoo/odoo#41480 X-original-commit: 116057b26e71db4692280463669f3e80d813ddcc Related: odoo/enterprise#7110 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
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 0f9313aa9de..67c1c98e7cc 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">fab fa-fw fa-facebook-square</field>
+ <field name="css_class">fa 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">fab fa-fw fa-google-plus-square</field>
+ <field name="css_class">fa 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 63499c3e615..ae74510e4ad 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='fas fa-fw fa-sign-in-alt text-primary')
+ css_class = fields.Char(string='CSS class', default='fa fa-fw fa-sign-in text-primary')
body = fields.Char(required=True, help='Link text in Login Dialog', translate=True)
sequence = fields.Integer()