Guide
API
Wiki
Forum
Community
Live Chat
Extensions
Resources
Members
Hall of Fame
Badges
More
Learn
Books
Resources
Develop
Download Yii
Report an Issue
Report a Security Issue
Contribute to Yii
Donate
About
What is Yii?
Release Cycle
News
License
Team
Official Logos and Design
Login
Yii Framework Wiki
Write
new article
Categories
All
Tips
342
How-tos
445
Tutorials
289
FAQs
45
Others
56
Popular Tags
All
yii2
90
CGridView
69
AJAX
57
Yii
48
tutorial
39
model
31
i18n
30
authentication
28
security
26
database
24
Recent Comments
vivian77
on
Yii2 GridView Sorting and Searching with a Junction Table Column(Many to Many Relationship)
4 days ago
E.Alamo
on
PHP built-in server integration
a month ago
coderevolts
on
Implementing cron jobs with Yii
2 months ago
Néstor Acevedo
on
Filter & Sort by calculated/related fields in GridView Yii 2.0
5 months ago
Kamil Pomykała
on
JWT authentication tutorial
11 months ago
Using multiple models in an identity
- History
Total
4
items.
#
Memo
Updater
Updated At
Actions
4
Adding a return null if the parameter $id is empty due to accessing as guest.
Néstor Acevedo
Aug 30, 2024, 10:47:27 PM
view diff
revert to
3
I added the method findByUsername inside Identity model, and I changed inside the method getUser from LoginForm, the static function to use Identity::findByUsername according with the common LoginForm model.
Néstor Acevedo
Sep 16, 2021, 1:13:45 AM
view diff
revert to
2
Fixed typo
samdark
Jan 29, 2019, 11:11:01 PM
view diff
revert to
1
(not set)
samdark
Oct 7, 2018, 2:14:01 PM
view diff
revert to
Select exactly two versions for comparison.
Compare Versions
9
2
5
followers
Viewed:
36 774 times
Version:
2.0
Category:
How-tos
Tags:
authentication
,
identity
Written by:
samdark
Last updated by:
Néstor Acevedo
Created on:
Oct 7, 2018
Last updated:
3 months ago
Update Article
Revisions
View all history
3 months ago
by
Néstor Acevedo
Adding a return null if the parameter $i...
3 years ago
by
Néstor Acevedo
I added the method findByUsername inside...
5 years ago
by
samdark
Fixed typo
6 years ago
by
samdark