You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					23 lines
				
				610 B
			
		
		
			
		
	
	
					23 lines
				
				610 B
			| 
								 
											8 years ago
										 
									 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								return [
							 | 
						||
| 
								 | 
							
								    'id' => 'app-common-tests',
							 | 
						||
| 
								 | 
							
								    'basePath' => dirname(__DIR__),
							 | 
						||
| 
								 | 
							
								    'components' => [
							 | 
						||
| 
								 | 
							
								        'user' => [
							 | 
						||
| 
								 | 
							
								            'class' => 'yii\web\User',
							 | 
						||
| 
								 | 
							
								            //'identityClass' => 'common\models\User',
							 | 
						||
| 
								 | 
							
								            'identityClass' => 'common\auth\Identity',
							 | 
						||
| 
								 | 
							
								        ],
							 | 
						||
| 
								 | 
							
								        /*'user' => [
							 | 
						||
| 
								 | 
							
									        'identityClass' => 'common\auth\Identity',
							 | 
						||
| 
								 | 
							
									        'enableAutoLogin' => true,
							 | 
						||
| 
								 | 
							
									        'identityCookie' => [
							 | 
						||
| 
								 | 
							
										        'name' => '_identity',
							 | 
						||
| 
								 | 
							
										        'httpOnly' => true,
							 | 
						||
| 
								 | 
							
										        'domain' => $params['cookieDomain'],
							 | 
						||
| 
								 | 
							
									        ],
							 | 
						||
| 
								 | 
							
									        'loginUrl' => ['auth/login'],
							 | 
						||
| 
								 | 
							
								        ],*/
							 | 
						||
| 
								 | 
							
								    ],
							 | 
						||
| 
								 | 
							
								];
							 |