Human readable mapping for the social auth backend
Source code in hypha/apply/users/templatetags/users_tags.py
| @register.filter
def backend_name(name):
"""Human readable mapping for the social auth backend"""
return {
"google-oauth": "Google OAuth",
"google-oauth2": "Google OAuth",
"google-openidconnect": "Google OpenId",
}.get(name, name)
|