i,<br><br>I have been trying to set up the catalyst Authorization plugin I have my Model in a module called DietDB and in my application module I have the Authorization set up as:<br><br>     authentication =&gt; {<br>        default_realm =&gt; &#39;people&#39;,<br>
        realms =&gt; {<br>            people =&gt; {<br>                credential =&gt; {<br>                    class =&gt; &#39;Person&#39;,<br>                    password_field =&gt; &#39;person_password&#39;,<br>                    password_type =&gt; &#39;clear&#39;<br>
                },<br>                store =&gt; {<br>                    class =&gt; &#39;DBIx::Class&#39;,<br>                    user_model =&gt; &#39;DietDB&#39;,<br>                    role_relation =&gt; &#39;role&#39;,<br>
                    role_field =&gt; &#39;role_name&#39;,<br>                }<br>            }<br>        }<br>    },<br><br clear="all">When my login controller calls $c-&gt;authenticate({username =&gt; $username, password =&gt; $password}) I get the error message:<br>
<br><pre><code class="error">Caught exception in Diet::Controller::Login-&gt;index &quot;$c-&gt;model(&#39;DB::Users&#39;) did not return a resultset. Did you set user_model correctly? at /usr/local/share/perl/5.10.0/Catalyst/Authentication/Store/DBIx/Class.pm line 61&quot;</code></pre>
Have I missed a configuration option? I am using Catalyst 5.80003 and other code is successfully calling $c-&gt;model(&#39;DietDB&#39;).<br><br>Thanks,<br>Ivan<br><br>-- <br>email/jabber:  <a href="mailto:ivan.wills@gmail.com">ivan.wills@gmail.com</a><br>
   /<br>  /       _   _<br> /  \  / | | | |<br>/    \/  \_| | |<br><br>