Support Libravatar matching by OpenID URL as well as by email address

This commit is contained in:
Danielle McLean 2018-07-11 13:13:12 +10:00
parent 6efcc450a3
commit 4fd2ff826a
Signed by: 00dani
GPG key ID: 8EB789DDF3ABD240
3 changed files with 33 additions and 3 deletions

View file

@ -0,0 +1,21 @@
# Generated by Django 2.0.7 on 2018-07-11 03:07
import computed_property.fields
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('users', '0014_auto_20180711_1248'),
]
operations = [
migrations.AddField(
model_name='user',
name='openid_sha256',
field=computed_property.fields.ComputedCharField(compute_from='calc_openid_sha256', default='', editable=False,
help_text="SHA-256 hash of the user's OpenID URL, used for Libravatar", max_length=64, unique=True),
preserve_default=False,
),
]