Removes email from profile stats.

This commit is contained in:
Dominik Picheta 2018-05-17 16:11:01 +01:00
commit 37d9fb3bb7
2 changed files with 1 additions and 4 deletions

View file

@ -167,10 +167,6 @@ when defined(js):
text $profile.threadCount
dt(text "Rank")
dd(text $profile.user.rank)
if profile.email.isSome():
dt(text "Email")
dd(class="spoiler"):
text profile.email.get()
if currentUser.isSome():
let user = currentUser.get()

View file

@ -4,6 +4,7 @@ type
Rank* {.pure.} = enum ## serialized as 'status'
Spammer ## spammer: every post is invisible
Troll ## troll: cannot write new posts
Banned ## A non-specific ban
EmailUnconfirmed ## member with unconfirmed email address
Moderated ## new member: posts manually reviewed before everybody
## can see them