From 7df9f4848e5591d2661ba1cafd9ba7d8edbdb7d0 Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Tue, 13 Jul 2010 08:09:35 +0000 Subject: [PATCH] Wrong password message improved --- IISMainHandler/handlers/request/SettingsHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IISMainHandler/handlers/request/SettingsHandler.cs b/IISMainHandler/handlers/request/SettingsHandler.cs index 6675df6..d176af4 100644 --- a/IISMainHandler/handlers/request/SettingsHandler.cs +++ b/IISMainHandler/handlers/request/SettingsHandler.cs @@ -30,7 +30,7 @@ namespace FLocal.IISHandler.handlers.request { if((usersPerPage < 1) || (usersPerPage > 200)) throw new FLocalException("wrong number for usersPerPage"); if((uploadsPerPage < 1) || (uploadsPerPage > 200)) throw new FLocalException("wrong number for uploadsPerPage"); - if(!context.account.checkPassword(currentPassword)) throw new FLocalException("wrong password"); + if(!context.account.checkPassword(currentPassword)) throw new FLocalException("Wrong password. You should enter your current password in order to change settings."); AccountSettings.Save(context.session.account, postsPerPage, threadsPerPage, usersPerPage, uploadsPerPage, skin);