Yii Framework Forum: User And Rights - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

User And Rights regarding the corresponding modules Rate Topic: -----

#1 User is offline   assan 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 2
  • Joined: 23-December 13

Posted 23 December 2013 - 02:50 PM

Hello, guys!

I am bothering you with old things. However I hope my questions will be interesting for you.

I recently installed yii-user and yii-rights modules and they are excellent. Nevertheless, I still have a lot of issues and looking forward for your help.

So I was wondering can the following files protected/models/LoginForm.php and and protected/views/site/login.php be deleted with no harm to my application (Reminding that my app is brand new).

Evenmore due to the fact that yii-user takes over SiteController's function actionLogin() and actionLogout() shall they be replaced or re-coded?

Thanx in advance.
0

#2 User is offline   Sserge 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 3
  • Joined: 02-October 12

Posted 27 December 2013 - 04:36 AM

Actually it's all up to you which way will you try.
But yes, if you use user's login, it's safe to delete login logic bound to site controller. Even UserIdentity, which allow you to site/login as demo(demo).
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users