mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-21 12:37:19 -04:00
Finish verify email
This commit is contained in:
parent
c6e12d2568
commit
35d473f04a
13 changed files with 182 additions and 62 deletions
|
@ -8,6 +8,7 @@ import (
|
|||
"container/list"
|
||||
"fmt"
|
||||
"html/template"
|
||||
"strings"
|
||||
"time"
|
||||
)
|
||||
|
||||
|
@ -54,4 +55,7 @@ var TemplateFuncs template.FuncMap = map[string]interface{}{
|
|||
"ActionDesc": ActionDesc,
|
||||
"DateFormat": DateFormat,
|
||||
"List": List,
|
||||
"Mail2Domain": func(mail string) string {
|
||||
return "mail." + strings.Split(mail, "@")[1]
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue