mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
More refactoring of user http api, trying to reuse handlers for sign in user and admin operations
This commit is contained in:
@@ -231,10 +231,11 @@ func GetUserProfile(query *m.GetUserProfileQuery) error {
|
||||
}
|
||||
|
||||
query.Result = m.UserProfileDTO{
|
||||
Name: user.Name,
|
||||
Email: user.Email,
|
||||
Login: user.Login,
|
||||
Theme: user.Theme,
|
||||
Name: user.Name,
|
||||
Email: user.Email,
|
||||
Login: user.Login,
|
||||
Theme: user.Theme,
|
||||
IsGrafanaAdmin: user.IsAdmin,
|
||||
}
|
||||
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user