1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-21 16:35:04 -05:00

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({
emailAddress: emailAddress,
password: $scope.pass,
phone: phone.internationalNumber,
betaCode: $scope.betaCode.toUpperCase()
phone: phone.internationalNumber
});
}).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">
</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">
<span class="spinner spinner--big"></span>
</div>
@ -297,9 +294,6 @@
<button class="btn" type="submit" ng-click="showConfirm()">Create</button>
</div>
</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>
<div ng-include="'tpl/page-footer.html'"></div>
</div>