How to log in my custom user class?

Author Message

Pål Øystein Carlsen

Monday 17 November 2003 1:44:57 am

I have now created a custom user class: custom_user

It works almost fine. I can now register new users and when I submit them I find them where I want them in the admin interface. however I can't login with my custom users. I get a message saying I can't login because I need a valid username/password.

First I thought this might be a rights issue again, but the funny thing is if I create a custom_user from the admin interface I can log in with no trouble. It seems like there is an issue with user account activation here.

In
settings\siteaccess\my site\site.ini.append I originaly had
[UserSettings]
RegistrationEmail=enabled but when I used the standard user class I could login even though no email was sent.
However, changing it to disabled does not change anything. I still get a message telling me a verification email has been sent.
If I am to interpret the file success.tpl
{section show=$verify_user_email} is still true even if I change the RegistrationEmail parameter to disabled.

If anybody has any thoughts about this I would be most greatfull.

Pål

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.