Aktywne Wpisy

kieubasa +62

Ryksa +6
Mężczyźni którzy nie dotykali kobiety są żałośni. Coś jest z wami nie tak i tyle. Zamiast zrozumieć o co chodzi to zostajecie incelami w internecie, skill issue xD Trzeba było słuchać i uważać jak wam dziewczyny mówiły czego potrzebują ( ͡° ͜ʖ ͡°)
A jak mają powyżej 30 lat to już jest wstyd po prostu. Jako matka było by mi po prostu wstyd, że coś takiego wychowałam. Na
A jak mają powyżej 30 lat to już jest wstyd po prostu. Jako matka było by mi po prostu wstyd, że coś takiego wychowałam. Na





_return Yii::$app->user->login($this->getUser(), $this->rememberMe ? 3600 * 24 * 30 : 0);
php wyswietla mi komunikat
,,Expected yii\web\IdentityInterface, got array |bool|\yii\db\ActiveRecord
Invocation parameters types are not compatible with declared"
$this->getUser() zwraca mi obiekt klasy ActiveRecord w której implementuje interface IdentityInterface wiec chyba powinno byc spoko
w main php
['label' => 'Login', 'url' => ['/site/login']] :
['label' => 'Logout (' . Yii::$app->user->identity->username . ')',
Feld 'username' not found in class null|yii\web\IdentityInterface
Referenced field is not found in subject class. Note: Check is not performed on objects of type "stdClass" or derived._
http://pastebin.com/MrMSX5zm
#programowanie #php #phpstorm #yii #webdev
Kontroller logowania wyglada tak:
public function actionLogin()
{
if (!\Yii::$app->user->isGuest) {
@ExtendedConsciousness: przecież jest napisane jak byk w czym problem ;]
jest
public function getUser()
{
if ($this->user ===
http://pastebin.com/7Ritvsn1
public function getId(){
return
@handler: nie wiem po co ten AuthKey jeszcze, wymagany byl przez UserInterface to wpisałem testowy póki co.
2) ,,pokaz var_dump this->getUser(),, nie rozumiem?
@Bizley: po co mi ten authKey? musze tez to przechowywac w baziedanych?