aboutsummaryrefslogtreecommitdiff
path: root/login.go
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-02-12 19:52:19 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-02-12 19:52:19 +0100
commitaff7efd726cfedd66f1d60a7104657d5154e1d3c (patch)
tree686a9179838b8c4f590c253986d9a6667d41cc98 /login.go
parent1a9d750de7bb30bea5dcc7cd14f3f1826ddf00f7 (diff)
downloadguichet-feat/aerogramme.tar.gz
guichet-feat/aerogramme.zip
Improve inspect pagefeat/aerogramme
Diffstat (limited to 'login.go')
-rw-r--r--login.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/login.go b/login.go
index 62a72c1..686b07b 100644
--- a/login.go
+++ b/login.go
@@ -225,6 +225,9 @@ func (lu *LoggedUser) WelcomeName() string {
}
return ret
}
+func (lu *LoggedUser) Email() string {
+ return lu.Entry.GetAttributeValue("mail")
+}
func (lu *LoggedUser) S3KeyInfo() (*garage.KeyInfo, error) {
var err error
var keyPair *garage.KeyInfo