aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/LLLoginService/LLLoginService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginService.cs')
-rw-r--r--OpenSim/Services/LLLoginService/LLLoginService.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs
index f97222e..398fe4f 100644
--- a/OpenSim/Services/LLLoginService/LLLoginService.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginService.cs
@@ -221,6 +221,12 @@ namespace OpenSim.Services.LLLoginService
221 return LLFailedLoginResponse.UserProblem; 221 return LLFailedLoginResponse.UserProblem;
222 } 222 }
223 223
224 if (account.UserLevel < 0)
225 {
226 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: Unverified account");
227 return LLFailedLoginResponse.UnverifiedAccountProblem;
228 }
229
224 if (account.UserLevel < m_MinLoginLevel) 230 if (account.UserLevel < m_MinLoginLevel)
225 { 231 {
226 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel); 232 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel);