Compare commits

..

4 Commits

1 changed files with 0 additions and 10 deletions

View File

@ -16,16 +16,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
def user_get_name_id(user):
if not hasattr(user, '_name_id'):
user._name_id = None
saml_identifier = user.saml_identifiers.first()
if saml_identifier:
user._name_id = saml_identifier.name_id
return user._name_id
default_description_template = """{{ email|default:"" }}
{% if phone %} 📞 {{ phone }}{% endif %}
{% if mobile %} 📱 {{ mobile }}{% endif %}