[Chilli] Automatic redirection to logout page after successful login
Shaisal OK
shaisal at gmail.com
Tue Mar 22 07:30:11 UTC 2011
Index: login.chi.in
===================================================================
--- login.chi.in (revision 437)
+++ login.chi.in (working copy)
@@ -31,6 +31,13 @@
case "$FORM_res" in
success|already)
+ shopt -s nocasematch
+ if [ "$FORM_userurl" = "http://logout/" ]
+ then
+ FORM_userurl="http://www.google.com/"
+ fi
+ shopt -u nocasematch
+
header "<meta http-equiv=\"refresh\"
content=\"5;url=${FORM_userurl}\"/>"
uamfile "login_success" 1
footer
I have problem in creating new posts in forum
Regards
Shaisal OK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.coova.org/pipermail/chilli/attachments/20110322/5f519ea2/attachment.html>
More information about the Chilli
mailing list