Closed vaidik closed 3 years ago
Why is this not using ModelBackend as the base class - https://github.com/matthiask/django-authlib/blob/master/authlib/backends.py#L5
ModelBackend
I encountered permission issues with this when the user is not a superuser. Particularly because EmailBackend does not implement has_module_perms. None of the permissions would work.
EmailBackend
has_module_perms
On extending ModelBackend, it worked fine for me
This is an excellent question. I'm not sure why, to be honest.
Do you want to submit a pull request? We can let the testsuite decide whether there's a reason for this.
Why is this not using
ModelBackend
as the base class - https://github.com/matthiask/django-authlib/blob/master/authlib/backends.py#L5I encountered permission issues with this when the user is not a superuser. Particularly because
EmailBackend
does not implementhas_module_perms
. None of the permissions would work.On extending
ModelBackend
, it worked fine for me