antonio 2004/02/07 01:52:02
Modified: src/blocks/authentication-fw/samples/flow sample.js
Log:
Changing the login() function with the only diference with a working version
using woody.
Revision Changes Path
1.4 +1 -2
cocoon-2.1/src/blocks/authentication-fw/samples/flow/sample.js
Index: sample.js
===================================================================
RCS file:
/home/cvs//cocoon-2.1/src/blocks/authentication-fw/samples/flow/sample.js,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- sample.js 21 Sep 2003 11:06:38 -0000 1.3
+++ sample.js 7 Feb 2004 09:52:02 -0000 1.4
@@ -25,8 +25,7 @@
if (auth_isAuthenticated(handler)) {
success();
- }
- if (auth_login(handler, null, cocoon.parameters)) {
+ } else if (auth_login(handler, null, cocoon.parameters)) {
success();
} else {
failure();