Skip to content
Permalink
Browse files

Always pass username to EVENT_AUTH_USER_FLAGS

Fixes #23960
  • Loading branch information...
vboctor committed Feb 10, 2018
1 parent 1e402ec commit 7600e5bdd21add42ce0f93d7e97e34a979584d2b
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/authentication_api.php
@@ -100,7 +100,7 @@ function auth_flags( $p_user_id = null, $p_username = '' ) {
}
if( $t_user_id ) {
$t_username = user_get_name( $t_user_id );
$t_username = user_get_username( $t_user_id );
$t_email = user_get_email( $t_user_id );
} else {
$t_username = $p_username;

0 comments on commit 7600e5b

Please sign in to comment.
You can’t perform that action at this time.