[interchange-cvs] interchange - docelic modified
code/UI_Tag/crypt.coretag
interchange-cvs at icdevgroup.org
interchange-cvs at icdevgroup.org
Sat Sep 25 19:41:00 EDT 2004
User: docelic
Date: 2004-09-25 23:40:59 GMT
Modified: code/UI_Tag crypt.coretag
Log:
- added salt= option
- password = alias for value, crypted = alias for salt
Revision Changes Path
1.3 +6 -3 interchange/code/UI_Tag/crypt.coretag
rev 1.3, prev_rev 1.2
Index: crypt.coretag
===================================================================
RCS file: /var/cvs/interchange/code/UI_Tag/crypt.coretag,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- crypt.coretag 25 Sep 2004 22:53:01 -0000 1.2
+++ crypt.coretag 25 Sep 2004 23:40:59 -0000 1.3
@@ -1,11 +1,14 @@
# Copyright 2003 Interchange Development Group (http://www.icdevgroup.org/)
# Licensed under the GNU GPL v2. See file LICENSE for details.
-# $Id: crypt.coretag,v 1.2 2004/09/25 22:53:01 docelic Exp $
+# $Id: crypt.coretag,v 1.3 2004/09/25 23:40:59 docelic Exp $
-UserTag crypt Order value
+UserTag crypt Order value salt
+UserTag crypt attrAlias password value
+UserTag crypt attrAlias crypted salt
UserTag crypt Routine <<EOR
sub {
- return crypt(shift, Vend::Util::random_string(2))
+ my ($string, $salt) = @_;
+ return crypt($string, $salt ? $salt : Vend::Util::random_string(2))
}
EOR
More information about the interchange-cvs
mailing list