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 d30c149..1e4b6c2 100644
--- a/OpenSim/Services/LLLoginService/LLLoginService.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginService.cs
@@ -227,6 +227,12 @@ namespace OpenSim.Services.LLLoginService
227 return LLFailedLoginResponse.UserProblem; 227 return LLFailedLoginResponse.UserProblem;
228 } 228 }
229 229
230 if (account.UserLevel < 0)
231 {
232 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: Unverified account");
233 return LLFailedLoginResponse.UnverifiedAccountProblem;
234 }
235
230 if (account.UserLevel < m_MinLoginLevel) 236 if (account.UserLevel < m_MinLoginLevel)
231 { 237 {
232 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel); 238 m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel);