82 Commits

Author SHA1 Message Date
Marco van 't Wout
9df13f14f5 Fix PHP 8.1 deprecation warning by setting cookie value empty instead of null (empty string deletes the cookie per php docs) 2023-01-18 16:27:08 +01:00
Arhell
fad0c5be77 update links 2022-08-07 11:54:16 +03:00
Armano
26368deace Fix spelling in documentation and add missing/invalid documentation [skip ci] 2016-07-19 14:01:14 +03:00
Pawel
208d1150b5 phpdoc fixes 2016-07-02 19:19:24 +03:00
Alexander Kochetov
2576534b2a CHANGELOG 2013-06-10 00:47:54 +04:00
Alexander Kochetov
3a487d410d Correct CWebUser::loginRequired() ajax logic 2013-06-09 23:19:45 +04:00
ivokund
8b2c95aada Update CWebUser.php
typo fix
2013-05-08 16:44:46 +02:00
ivokund
7adf744cc3 Update CWebUser.php 2013-05-08 16:43:01 +02:00
ivokund
9cd9bcd6ef Update CWebUser.php 2013-05-08 16:43:01 +02:00
AlFaisal ElDajani
7287653149 fixing bug where time() was being added twice to the cookie expiration date. Once before we pass it to CWebUser::saveToCookie, and another time inside the function. 2013-04-25 11:28:04 +03:00
AlFaisal ElDajani
371f3301bd Fixing CWebUser#restoreFromCookie to respect identityCookie options as well. Adding changelog line 2013-04-11 14:26:26 +03:00
AlFaisal ElDajani
4c2830f209 Fixing bug in CWebUser#renewCookie which was causing it to ignore any configuration parameters speicified in user => identityCookie 2013-04-11 12:44:32 +03:00
Abdul Malik Ikhsan
6247adaf26 change copyright symbol 2013-01-15 18:38:02 +07:00
Abdul Malik Ikhsan
46c8ef0d9a update copyright year
from 2011 to 2013
2013-01-15 17:28:17 +07:00
François Gannaz
e45af0fba0 Issue 1792: clear CWebUser access cache on logout
Closes issue #1792 "Control Access still persists after logout".

CWebUser::checkAccess() uses an internal cache that wasn't emptied on
logout. This created wrong access permissions when 2 identities were
used in a single application run.
2012-12-06 13:50:21 +01:00
Alexander Kochetov
486723805e else if => elseif 2012-10-03 10:20:14 +04:00
Alexander Makarov
d865a3bab8 Fixes #1057 Removed SVN ids 2012-09-09 22:23:45 +04:00
Paul Klimov
e6376b6e06 Method "CWebUser::getReturnUrl()" has been fixed, allowing to determine default URL correctly if "CUrlManager::showScriptName" is set to "false". 2012-08-23 16:33:23 +03:00
Qiang Xue
30b1d6ee81 Fixes #384: CWebUser::changeIdentity() will now delete old unused session data file 2012-07-29 00:02:21 -04:00
keyboard.idol
6d8c49070b Fixes #879 (Enabling cookie validation causes error 500) 2012-06-26 00:32:39 +02:00
Carsten Brandt
de79273978 added userId to params of authmanagers checkAccess
param added to have the user the checkAccess was called for available in
a bizRule.
this implements suggestion of @samdark in #766
2012-06-01 23:55:15 +02:00
Carsten Brandt
cc95887ce7 fixes issue #618 caching of CWebUser::checkAccess
Fixed caching of CWebUser::checkAccess() when it is called first time
with and second time without $params
2012-05-25 18:59:04 +02:00
mdomba (mdlap)
22a5213ece Fixes issue #601 added loginRequired() to the IWebUser interface 2012-04-12 23:23:11 +02:00
mdomba
a7ef3d5d02 removed 1.0.x reference from documentation 2011-12-28 12:29:24 +00:00
mdomba
7c851bed0f (Fixes issue 2855) CWebUSer->login() returns the login status 2011-12-19 14:41:45 +00:00
alexander.makarow
646cbb2b9a Documented component accessors with @property for significantly better IDE autocomplete 2011-10-25 00:01:09 +00:00
mdomba
b32cc23307 (Rollback r3365 and r3367) invalid fix 2011-08-04 07:55:11 +00:00
mdomba
376fd8f00d Added CWebUser->loginRequiredAjaxResponse - value to be returned for ajax calls in case the user session has expired 2011-08-03 22:37:52 +00:00
mdomba
311c963c81 (Fixes issue 2709) enableCookieValidation breaks cookie based autoLogin feature 2011-08-03 21:24:48 +00:00
mdomba
20c60a2a45 (Fixes issue 2709) enableCookieValidation breaks cookie based autoLogin feature 2011-08-03 21:21:05 +00:00
alexander.makarow
0050917775 reverted 2498 fix 2011-06-15 14:21:12 +00:00
alexander.makarow
20d3489b32 (Fixes issue 2498) When no value is returned from before* event-methods, it now always behaves the same way as when true was returned 2011-06-13 16:02:22 +00:00
alexander.makarow
e7b6883ebb PhpDoc corrections 2011-05-05 21:36:32 +00:00
qiang.xue
da44a3909e Added CHttpSession::regenerateID() 2011-04-07 04:25:27 +00:00
qiang.xue
418f07d559 2011-04-07 03:50:55 +00:00
qiang.xue
38cd4958ad * (Fixes issue 1852) Added CWebUser::authTimeout to support separation between authentication timeout and session timeout 2011-03-14 17:37:37 +00:00
qiang.xue
14240032a4 (Fixes issue 2059) 2011-03-12 21:25:33 +00:00
qiang.xue
004737b2e4 (Fixes issue 2060) 2011-03-11 22:40:58 +00:00
qiang.xue
fef87aabf2 2011-03-02 21:43:37 +00:00
qiang.xue
8a107946a7 (Fixes issue 2142) 2011-03-02 21:43:02 +00:00
alexander.makarow
2ab981b454 reverted method chaining support 2011-02-24 16:42:44 +00:00
alexander.makarow
75041e8620 Chained calls are now possible for most framework class setters and methods not returning a value 2011-02-23 20:20:28 +00:00
qiang.xue
4be0af6917 changed copyright year. 2011-01-01 19:31:13 +00:00
qiang.xue
def04c9078 (Fixes issue 1872) 2010-12-28 18:39:36 +00:00
mdomba
72b974560b Updated PHPDoc @param parameter names 2010-09-23 13:28:52 +00:00
mdomba
fb30c3db0a small typo 2010-09-20 08:20:13 +00:00
qiang.xue
e997353b7c (Fixes issue 1349) 2010-06-30 14:16:14 +00:00
qiang.xue
a1cd83a036 * (Fixes issue 1271) Added CWebUser::getFlashes 2010-06-05 13:51:13 +00:00
qiang.xue
61c778571e (Fixes issue 856) 2010-05-30 02:49:50 +00:00
qiang.xue
c08ff20139 Added beforeLogout and afterLogout to CWebUser 2010-05-27 21:29:09 +00:00