aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/LLLoginService/LLLoginService.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 00fffff..5c12a54 100644
--- a/OpenSim/Services/LLLoginService/LLLoginService.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginService.cs
@@ -223,6 +223,12 @@ namespace OpenSim.Services.LLLoginService
223 return LLFailedLoginResponse.UserProblem; 223 return LLFailedLoginResponse.UserProblem;
224 } 224 }
225 225
226 if (account.UserLevel < 0)
227 {
228 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: Unverified account");
229 return LLFailedLoginResponse.UnverifiedAccountProblem;
230 }
231
226 if (account.UserLevel < m_MinLoginLevel) 232 if (account.UserLevel < m_MinLoginLevel)
227 { 233 {
228 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel); 234 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel);