Merge pull request #381 from whiteout-io/WO-1000

Remove invite code from app
This commit is contained in:
Felix Hammerl 2015-06-18 11:52:27 +02:00
commit c31c320e83
2 changed files with 1 additions and 8 deletions

View File

@ -52,8 +52,7 @@ var CreateAccountCtrl = function($scope, $location, $routeParams, $q, auth, admi
return admin.createUser({ return admin.createUser({
emailAddress: emailAddress, emailAddress: emailAddress,
password: $scope.pass, password: $scope.pass,
phone: phone.internationalNumber, phone: phone.internationalNumber
betaCode: $scope.betaCode.toUpperCase()
}); });
}).then(function() { }).then(function() {

View File

@ -287,9 +287,6 @@
<input class="input-text" type="tel" ng-model="dial" required placeholder="Mobile phone (for SMS validation)" tabindex="5"> <input class="input-text" type="tel" ng-model="dial" required placeholder="Mobile phone (for SMS validation)" tabindex="5">
</div> </div>
</div> </div>
<div class="form__row">
<input class="input-text" type="text" ng-model="betaCode" required placeholder="Invitation code" tabindex="6">
</div>
<div class="spinner-block" ng-show="busy"> <div class="spinner-block" ng-show="busy">
<span class="spinner spinner--big"></span> <span class="spinner spinner--big"></span>
</div> </div>
@ -297,9 +294,6 @@
<button class="btn" type="submit" ng-click="showConfirm()">Create</button> <button class="btn" type="submit" ng-click="showConfirm()">Create</button>
</div> </div>
</form> </form>
<p class="typo-paragraph">
<a href="http://eepurl.com/ba09in" target="_blank" title="Sign up for mailbox access.">Need an invitation code?</a>
</p>
</main> </main>
<div ng-include="'tpl/page-footer.html'"></div> <div ng-include="'tpl/page-footer.html'"></div>
</div> </div>