From bc219942ec54eec1f660f810a8b1ca8294c3ce95 Mon Sep 17 00:00:00 2001 From: Mikko Nieminen Date: Thu, 10 Oct 2024 10:10:13 +0200 Subject: [PATCH] add auth type in userprofile (#1500) --- CHANGELOG.rst | 6 ++++++ docs/source/major_changes.rst | 1 + userprofile/templates/userprofile/detail.html | 2 ++ 3 files changed, 9 insertions(+) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 6e4eb85d..0e74af84 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -8,6 +8,12 @@ Changelog for the **SODAR Core** Django app package. Loosely follows the Unreleased ========== +Added +----- + +- **Userprofile** + - Authentication type in user details (#1500) + Fixed ----- diff --git a/docs/source/major_changes.rst b/docs/source/major_changes.rst index 5d632771..868a7b06 100644 --- a/docs/source/major_changes.rst +++ b/docs/source/major_changes.rst @@ -16,6 +16,7 @@ v1.0.3 (WIP) Release Highlights ================== +- Add auth type in user profile details card - Fix requiring deprecated SODAR API settings in tests diff --git a/userprofile/templates/userprofile/detail.html b/userprofile/templates/userprofile/detail.html index 7a7cd70f..dd8f0020 100644 --- a/userprofile/templates/userprofile/detail.html +++ b/userprofile/templates/userprofile/detail.html @@ -73,6 +73,8 @@

{{ request.user.sodar_uuid }}
Date Joined
{{ request.user.date_joined | date:'Y-m-d H:i' }}
+
Authentication
+
{{ request.user.get_auth_type }}