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