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