Answer the question
In order to leave comments, you need to log in
How to change loginUrl to your own?
I am using yii 1 latest version.
In a standard Blog app, I'm trying to change the user's loginUrl
// application components
'components'=>array(
'user'=>array(
// enable cookie-based authentication
'loginUrl' => array('site/login'),
'allowAutoLogin'=>true,
),
Answer the question
In order to leave comments, you need to log in
m.b. caching?
and nothing happens - does the address remain the same all the time?
yii is installed out of the box, Denver
did not make any settings on the local machine - I don’t even know where to dig
, although I changed the rules in the urlManager and they work fine, that is
'manager/login' => 'site/login', // Add this
'manager/logout' => 'site/logout', // Add this
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question