Yii Framework Forum: Possible Auth Bug - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Possible Auth Bug Rate Topic: -----

#1 User is offline   Fike 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 27-July 13

Posted 27 July 2013 - 01:08 PM

Hi.
My application stops recognizing logged in user (Yii::app()->user->isGuest = true) as soon as i try to change name property of application in controller action. This is a little surprising because if changing app name is prohibited, it should output an exception, not break auth engine.

OS: Lubuntu 13.04 / Windows XP
Server: nginx 1.2.6 + php-fpm 5.4.9 / WAMP 2.2 with PHP 5.3.x
Browser: Chromium 28.0.1500.71
Yii version: 1.1.13

Sorry i can't test it on more platforms right now and tell if it is something wrong on my side or confirm it is a yii problem.
0

#2 User is offline   samdark 

  • Having fun
  • Yii
  • Group: Yii Dev Team
  • Posts: 4,719
  • Joined: 17-January 09
  • Location:Russia

Posted 27 July 2013 - 05:17 PM

Set "id" in config, that will prevent name to mess with session keys.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

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