[slbackup-commit] CVS update: slbackup-php/templates login.tpl
finnarne-guest at alioth.debian.org
finnarne-guest at alioth.debian.org
Wed Apr 18 05:58:55 UTC 2007
User: finnarne-guest
Date: 07/04/18 05:58:55
Modified: templates login.tpl
Log:
Warn if about to send password over unencrypted link
Revision Changes Path
1.5 +6 -0 slbackup-php/templates/login.tpl
Index: login.tpl
===================================================================
RCS file: /cvsroot/slbackup/slbackup-php/templates/login.tpl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- login.tpl 17 Apr 2007 06:18:58 -0000 1.4
+++ login.tpl 18 Apr 2007 05:58:55 -0000 1.5
@@ -20,6 +20,12 @@
<FORM action="index.php" name=login method=POST>
{t 1=$backupuser 2=$backuphost}To read the configuration, you must log in as %1 on %2.{/t}<BR>
{t 1=$backupuser 2=$backuphost}Please enter the password for the %1 account on %2:{/t}<BR>
+ {if $https == "" }
+ <B>
+ {t}WARNING: you are about to send you password over an unencrypted link, please ask your administrator to enable https{/t}
+ <BR>
+ </B>
+ {/if}
<INPUT type=password name=Passwd><BR>
<INPUT type=submit name=login value="{t}Login{/t}">
<INPUT type=reset name=Reset value="{t}Reset{/t}">
More information about the slbackup-commit
mailing list