mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Check auth_service to describe user login message
This commit is contained in:
@@ -531,7 +531,7 @@ export default class UserSettingsGeneralTab extends React.Component {
|
||||
} else {
|
||||
describe = UserStore.getCurrentUser().email;
|
||||
}
|
||||
} else {
|
||||
} else if (this.props.user.auth_service === Constants.GITLAB_SERVICE) {
|
||||
describe = 'Log in done through GitLab';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user