Skip to content

Commit

Permalink
fix: add some user info in /cgi/auth.pl body (#9918)
Browse files Browse the repository at this point in the history
* fix: add some user info in /cgi/auth.pl body #9910

* removing email
  • Loading branch information
stephanegigandet authored and john-gom committed May 24, 2024
1 parent 1530c03 commit abe41fd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cgi/auth.pl
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,11 @@
status_verbose => 'user signed-in',
user_id => $User_id,
user => {
email => $User{email},
name => $User{name},
preferred_language => $User{preferred_language},
country => $User{country},
moderator => $User{moderator} ? 1 : 0,
admin => is_admin_user($User_id) ? 1 : 0,
},
};

Expand Down

0 comments on commit abe41fd

Please sign in to comment.