From 972111c6b40a1f80646882e3900d8026da35b8b1 Mon Sep 17 00:00:00 2001 From: inga-lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Sun, 4 Jul 2010 19:54:13 +0000 Subject: [PATCH] Fixed slight bug in MigrateHandler --- IISMainHandler/handlers/request/MigrateAccountHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IISMainHandler/handlers/request/MigrateAccountHandler.cs b/IISMainHandler/handlers/request/MigrateAccountHandler.cs index 1b75aa4..f60b7b8 100644 --- a/IISMainHandler/handlers/request/MigrateAccountHandler.cs +++ b/IISMainHandler/handlers/request/MigrateAccountHandler.cs @@ -48,7 +48,7 @@ namespace FLocal.IISHandler.handlers.request { string check = Util.md5(match.Groups[1].Value + " " + Config.instance.SaltMigration + " " + account.id); if(check != context.httprequest["check"]) throw new FLocalException("Wrong key '" + match.Groups[1].Value + "'"); if(context.httprequest.Form["password"] != context.httprequest.Form["password2"]) throw new FLocalException("Passwords mismatch"); - account.updatePassword(context.httprequest.Form["password2"]); + account.migrate(context.httprequest.Form["password2"]); return new XElement[0]; }