diff options
Diffstat (limited to 'OpenSim/Services/LLLoginService/LLLoginService.cs')
-rw-r--r-- | OpenSim/Services/LLLoginService/LLLoginService.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs index fcfdd1d..35adf0f 100644 --- a/OpenSim/Services/LLLoginService/LLLoginService.cs +++ b/OpenSim/Services/LLLoginService/LLLoginService.cs | |||
@@ -229,6 +229,12 @@ namespace OpenSim.Services.LLLoginService | |||
229 | return LLFailedLoginResponse.UserProblem; | 229 | return LLFailedLoginResponse.UserProblem; |
230 | } | 230 | } |
231 | 231 | ||
232 | if (account.UserLevel < 0) | ||
233 | { | ||
234 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: Unverified account"); | ||
235 | return LLFailedLoginResponse.UnverifiedAccountProblem; | ||
236 | } | ||
237 | |||
232 | if (account.UserLevel < m_MinLoginLevel) | 238 | if (account.UserLevel < m_MinLoginLevel) |
233 | { | 239 | { |
234 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel); | 240 | m_log.InfoFormat("[LLOGIN SERVICE]: Login failed, reason: login is blocked for user level {0}", account.UserLevel); |