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:
parent
3e39432ccc
commit
93c7b1b846
1 changed files with 5 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue