Added priv level to user details

added priv level to user details

Fix #1881
This change allows the server operator to enable or disable the internal
SMTP client that sends activation emails.  With this new configuration
option server operators can choose to require email activation yet use
an external method of account verification and/or account token
notification.
This commit is contained in:
poixen 2017-01-06 21:42:58 +01:00
parent 3e39432ccc
commit 93c7b1b846

View file

@ -110,6 +110,11 @@ void UserInfoBox::updateInfo(const ServerInfo_User &user)
userLevelText = tr("Registered user");
else
userLevelText = tr("Unregistered user");
if (user.has_privlevel() && user.privlevel() != "NONE") {
userLevelText += " | " + tr("%1").arg(user.privlevel().c_str());
}
userLevelLabel3.setText(userLevelText);
QString accountAgeString = tr("Unregistered user");