[Codestriker-commits] CVS update: codestriker/lib/Codestriker/Http/Method AddTopicMethod.pm
Brought to you by:
sits
|
From: <si...@us...> - 2008-09-11 23:26:36
|
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) = @_;
|