amnah

Results 42 comments of amnah

Woops I think that previous comment is wrong. What you probably need to do is update the [common/models/User.php](https://github.com/yiisoft/yii2-app-advanced/blob/master/common/models/User.php) file completely. It would need to extend my User class, like so:...

Wait, how did you log in the first time - what was the url? Did you set up [pretty urls](http://www.yiiframework.com/doc-2.0/guide-runtime-routing.html#using-pretty-urls)?

i dont think your pretty urls is working. did you set up pretty urls properly? http://www.yiiframework.com/doc-2.0/guide-start-installation.html#recommended-apache-configuration your error is an apache error, it's not even getting into php yet so...

Hmmm ok that's weird then. Ok, assuming that your pretty urls are working, let's take a step back. Did you update your [nav links](https://github.com/yiisoft/yii2-app-advanced/blob/master/frontend/views/layouts/main.php#L42-L45) to point to the new urls?...

The important part in that code is this: ``` php 'controllerMap' => [ 'default' => 'app\controllers\MyDefaultController', ], ``` So you basically need to create a file like `app\controllers\MyDefaultController.php` and point...

Unfortunately, I don't have much time to look into this currently. If you can set something up and submit a pull request though, that would be awesome!

The full_name is set in the profile, so you would need to access the user -> profile. You can do that by using `$fullusername = Yii::$app->user->identity->profile->full_name;` where `user` = [Yii...

This is an extreme edge case ... a far majority of apps built today won't exist 20 years from now. I'd be amazed if any did lol. Anyhow, if they...

Sigh ... I can't think of a good solution. For now I've reverted back to the createController method (and removed the bootstrap) https://github.com/amnah/yii2-user/commit/824d282ac32b0e0fa32545f6dda9081b4d38b560

Hmmm good idea, but unfortunately your solution wouldn't really work. It's a bit more complicated than just changing their `auth_key`. https://github.com/yiisoft/yii2/blob/master/framework/web/User.php#L670-L712 From here you can see that it checks the...