Check auth_service to describe user login message

This commit is contained in:
girish@cloudron.io
2016-01-19 12:23:24 -08:00
parent 1ef6fd1b25
commit e5471e09cd

View File

@@ -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';
}