1
0
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:
Kyle Spearrin
2017-03-28 21:16:44 -04:00
parent 4d2cae0b0f
commit e12582c2c2
8 changed files with 62 additions and 22 deletions

View File

@@ -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) {