

For some reason, the session id isn't retrieved properly when redirect.php sends to location.php.
Cise squirrelmail Patch#
You'll need to patch the source code for this to work. Note: One user claims the following when using SquirrelMail 1.5.1 or later, but because the 1.5.x series is a development branch, this is likely to change significantly, so this information may be out of date: Now, wherever your tag is, this is what you want (notice this also includes SquirrelMail's JavaScript auto-detect code):\n Īnd the actual input fields would be as such:\n If you still have problems, please look at the plugin code or ask for help on the SquirrelMail plugins mailing list.Īt the very top of the file, insert this:\n Īnd in the, insert this (this is just the auto-focus for the cursor):\n Below is a sample from a working installation where the relevant login plugin hook is called, which might even make this compatible with ANY plugins that use the same hook as well as password_forget. NSFs Directorate for Computer and Information Science and Engineering (CISE) supports a number of activities to foster collaborations between the U.S. scientists and engineers and their institutions to enhance their research and education activities through international collaborations. Ideally, you'd need your custom login page to be a PHP file that can make the correct function call into that plugin. National Science Foundation encourages U.S. If you are using the password_forget plugin, more work is required to build the login form correctly. You don't have to add all hooks used by all plugins, only the ones affecting the login process. View the plugin's setup.php file to find out which ones those are, then look at where those plugin hooks are used in src/login.php, and add them accordingly to your custom login page.

In addition to the above, your code needs to execute any and all SquirrelMail plugin hooks used by any login plugin you are trying to get working. Don't forget to destroy SquirrelMail sessions first, otherwise if a user didn't logout properly, there's a risk of mixing personal information.
Cise squirrelmail password#
Put this in the body tag so SquirrelMail housekeeping can be executed when the page loads:\n Īlso note that you may or may not want to use HTTPS instead of HTTP for secure password transmission. Here is a sample of the required HTML code (obviously, you need to add your own layout code):\n It is easy to put username and password input fields in any web page and let the user log into their SquirrelMail without going to the default SquirrelMail login page.
