Check-in [44811a65f8]
Not logged in
Overview

SHA1 Hash:44811a65f8c736554a4408d7e75a93dc12cb1dd8
Date: 2008-02-03 22:12:34
User: stephan
Comment:login_page() now honors the 'g' (goto) parameter after a successful password update
Timelines: ancestors | descendants | both | trunk
Other Links: files | ZIP archive | manifest

Tags And Properties
Changes
[hide diffs]

Modified src/login.c from [0851edc1ca] to [619dd24338].

@@ -107,11 +107,11 @@
       ;
     }else{
       db_multi_exec(
          "UPDATE user SET pw=%Q WHERE uid=%d", zNew1, g.userUid
       );
-      cgi_redirect("index");
+      cgi_redirect(zGoto);
       return;
     }
   }
   if( zUsername!=0 && zPasswd!=0 ){
     int uid = db_int(0,