Skip to content

Poor readme, cant login to page #11

@ajibarra

Description

@ajibarra

Reported by andrzejborkowski (at gmail) | January 7th, 2011 @ 07:16 AM
add login to allow action @ users_controller

u must add some information:
u have in view email,password
in code is default cakephp ussername, password, users plugin settings must be sometging like that:

function beforeFilter(){
    $this->Auth->fields = array(
        'username' => 'email', 
        'password' => 'passwd'
        );
}

information about Email component in my case return true but sendmail do not sent mails so i propose to everybody use smtp delivery method

$this->Email->smtpOptions = array(
                'port'=>'465',
                'timeout'=>'30',
                'host'=>'ssl://smtp.gmail.com',
                'username'=>'xxx@gmail.com',
                'password'=>'xxx'
                );
            $this->Email->delivery = 'smtp';

add echo $this->Session->flash('auth'); to login view
after that and created && activated account i still cant login to my page ...
how can i debug it and resolve thath problem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions