User: sits
Date: 08/09/11 16:26:35
Modified: lib/Codestriker/Http/Method AddTopicMethod.pm
Log:
For now, disable authentication when creating topics, so that automated
scripts still work. Will need to update CodestrikerClient.pm to take
an optional username/password.
Index: AddTopicMethod.pm
===================================================================
RCS file:
/cvsroot/codestriker/codestriker/lib/Codestriker/Http/Method/AddTopicMethod.pm,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- AddTopicMethod.pm 8 Sep 2008 10:19:50 -0000 1.5
+++ AddTopicMethod.pm 11 Sep 2008 23:26:35 -0000 1.6
@@ -27,6 +27,13 @@
}
}
+# For now don't require authentication so that automated scripts can still
+# create topics. Will need to modify CodestrikerClient.pm so that it can
+# take a username/password.
+sub requires_authentication {
+ return 0;
+}
+
sub extract_parameters {
my ($self, $http_input) = @_;
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits