mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 07:32:13 +08:00
added support to login user oauth user by email only (#6330)
* added support to login user oauth user by email only * added sql handler * fixed model method name from GetUserByEmail to GetUserByEmailQuery * fixed variable declaration typo
This commit is contained in:

committed by
Torkel Ödegaard

parent
9badb051ba
commit
eda442dbf9
@ -96,6 +96,11 @@ type GetUserByLoginQuery struct {
|
||||
Result *User
|
||||
}
|
||||
|
||||
type GetUserByEmailQuery struct {
|
||||
Email string
|
||||
Result *User
|
||||
}
|
||||
|
||||
type GetUserByIdQuery struct {
|
||||
Id int64
|
||||
Result *User
|
||||
|
Reference in New Issue
Block a user