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 4d7dfd1..5301140 100644
--- a/OpenSim/Services/LLLoginService/LLLoginService.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginService.cs
@@ -164,6 +164,12 @@ namespace OpenSim.Services.LLLoginService
164 return LLFailedLoginResponse.UserProblem; 164 return LLFailedLoginResponse.UserProblem;
165 } 165 }
166 166
167 if (account.UserLevel < 0)
168 {
169 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: Unverified account");
170 return LLFailedLoginResponse.UnverifiedAccountProblem;
171 }
172
167 if (account.UserLevel < m_MinLoginLevel) 173 if (account.UserLevel < m_MinLoginLevel)
168 { 174 {
169 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel); 175 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel);