mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
UI tweaks for org invites
This commit is contained in:
@@ -4,12 +4,14 @@ angular
|
||||
.controller('accountsRegisterController', function ($scope, $location, apiService, cryptoService, validationService,
|
||||
$analytics, $state) {
|
||||
var params = $location.search();
|
||||
var stateParams = $state.params;
|
||||
|
||||
$scope.returnState = $state.params.returnState;
|
||||
$scope.success = false;
|
||||
$scope.model = {
|
||||
email: params.email
|
||||
email: params.email ? params.email : stateParams.email
|
||||
};
|
||||
$scope.readOnlyEmail = stateParams.email !== null;
|
||||
|
||||
$scope.registerPromise = null;
|
||||
$scope.register = function (form) {
|
||||
|
||||
Reference in New Issue
Block a user