users: let mods see email addresses on user profiles.

* Let Mods and Admins see the email addresses of users below their level.
* Let users see their own email address on their profile.
* Let users verify or edit their email address from their profile.

This is to make catching sockpuppets easier, and to make it easier for
users to fix their email.
This commit is contained in:
evazion
2020-12-13 19:50:25 -06:00
parent 9f09c495e4
commit 67eefadd7f
7 changed files with 96 additions and 6 deletions

View File

@@ -201,6 +201,9 @@
--user-member-color: var(--link-color);
--user-banned-color: black;
--user-verified-email-color: #0A0;
--user-unverified-email-color: #F80;
--news-updates-background: #EEE;
--news-updates-border: 2px solid #666;
@@ -291,6 +294,9 @@ body[data-current-user-theme="dark"] {
--user-moderator-color: var(--green-1);
--user-admin-color: var(--red-1);
--user-verified-email-color: var(--green-1);
--user-unverified-email-color: var(--yellow-1);
/* misc specific colors */
--autocomplete-selected-background-color: var(--grey-3);
--autocomplete-border: 1px solid var(--grey-4);

View File

@@ -30,6 +30,14 @@ div#c-users {
p {
margin-bottom: 0.5em;
}
.user-verified-email-icon {
color: var(--user-verified-email-color);
}
.user-unverified-email-icon {
color: var(--user-unverified-email-color);
}
}
}