Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support intranet users #5205

Merged
merged 1 commit into from
Oct 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions contribs/gmf/src/authentication/Service.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import * as Sentry from '@sentry/browser';
/**
* @typedef {Object} User
* @property {string|null} email User's email address
* @property {boolean|null} is_intranet The user is in the intranet.
* @property {AuthenticationFunctionalities|null} functionalities Configured functionalities of the user
* @property {boolean|null} is_password_changed True if the password of the user has been changed.
* False otherwise.
Expand Down
5 changes: 5 additions & 0 deletions contribs/gmf/src/authentication/component.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<div ng-if="$ctrl.gmfUser.is_intranet">
<div class="form-group">
<span>{{'You are recognise as an intranet user.' | translate}}</span>
sbrunner marked this conversation as resolved.
Show resolved Hide resolved
</div>
</div>
<div ng-if="$ctrl.gmfUser.username">
<div class="form-group">
<span>{{'Logged in as' | translate}}</span>
Expand Down