1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

accept org invite. return state for login

This commit is contained in:
Kyle Spearrin
2017-03-23 16:57:47 -04:00
parent 0b875fc6f7
commit 9f1ab6f961
7 changed files with 118 additions and 10 deletions

View File

@@ -1,9 +1,11 @@
angular
.module('bit.accounts')
.controller('accountsRegisterController', function ($scope, $location, apiService, cryptoService, validationService, $analytics) {
.controller('accountsRegisterController', function ($scope, $location, apiService, cryptoService, validationService,
$analytics, $state) {
var params = $location.search();
$scope.returnState = $state.params.returnState;
$scope.success = false;
$scope.model = {
email: params.email