<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -101,9 +101,11 @@ handle_call({authenticate,Id,Pswd}, _From, State) -&gt;
     Reply = case apply(identity_adaptor(),authenticate,[Id,Pswd]) of
 	{ok,Actor} -&gt; 
 		    {ok,Actor};
-	Bad -&gt; 
+	{error,Bad} -&gt; 
 	    % Identity module error/ not loaded?
-	    {error,error({&quot;Identity module returned authentication error, or could, be a missing module. Reported error &quot;,Bad})}
+	    {error,error({&quot;Identity module returned authentication error, or could, be a missing module. Reported error &quot;,Bad})};
+	 {_} -&gt; 
+	     {error,&quot;incorrectly formated error response from identity adaptor&quot;}
     end,
     {reply, Reply, State};
 </diff>
      <filename>Reactor/src/core/identity_server.erl</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>015a4eb69d304071d6e25caf67fd668fc0251cce</id>
    </parent>
  </parents>
  <author>
    <name>Alan Wood</name>
    <email>al@folknology.com</email>
  </author>
  <url>http://github.com/folknology/reactored/commit/46e7e9c44e1f27af9ef0fe84b4340867dd4e4c21</url>
  <id>46e7e9c44e1f27af9ef0fe84b4340867dd4e4c21</id>
  <committed-date>2009-06-19T06:29:47-07:00</committed-date>
  <authored-date>2009-06-19T06:29:47-07:00</authored-date>
  <message>Corrected case clause for failed authentication reply in Identity_server</message>
  <tree>f411a5c5e056dce4c39cbc895127c17bac109734</tree>
  <committer>
    <name>Alan Wood</name>
    <email>al@folknology.com</email>
  </committer>
</commit>
