You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
accounts-entry is a meteor package that relies on Iron Router and provides an alternative interface to accounts-ui, with whole pages for sign up and sign in.
9
5
10
-
**NOTE:** Version 0.8.0 and higher or accounts-entry requires that you use Meteor 0.8.2 or higher. You also need to pass the pause param to AccountsEntry.signedInRequired if you are using it. If you were using master and extraSignUpFields, please review the docs for changes in the 0.8.0 release.
You can install the `accounts-ui` package, as it is still used for OAuth setup.
15
15
16
-
accounts-entry is a meteorite package that relies on Iron Router and provides an
17
-
alternative interface to accounts-ui, with whole pages for sign up
18
-
and sign in.
19
16
20
17
We wanted something to work with that used [Iron Router](https://github.com/EventedMind/iron-router),
21
18
[Bootstrap 3](https://github.com/mangasocial/meteor-bootstrap-3), and didn't require the forcing of
22
19
the dropdown box that didn't seem to be easily styled. But we love the ease of adding more packages like `accounts-facebook` or `accounts-twitter`, so we fully support the OAuth packages by adding buttons to let people sign-up/sign-in with those services if you add them. By default, accounts-entry doesn't offer email/password login functionality. If you `mrt add accounts-password`, accounts-entry will offer your users the option to sign-up/sign-in with a username and password.
accounts-entry is presently compatible with Iron Router 0.6.0 and above. Since meteorite doesn't support semantic version locking, we are currently pegged to 0.6.4 of Iron-router.
40
-
41
-
## Getting started
42
-
43
-
Run:
44
-
45
-
```
46
-
mrt add accounts-entry
47
-
```
48
-
49
-
You can install the `accounts-ui` package, as it is still used for OAuth setup.
36
+
accounts-entry is presently compatible with Iron Router 1.0.3 and above.
50
37
51
38
## Provided routes
52
39
@@ -57,9 +44,9 @@ You will get routes and the necessary templates for:
57
44
/sign-out
58
45
/sign-up
59
46
/forgot-password
47
+
/verification-pending
60
48
```
61
49
62
-
{% assign special = '{{> accountButtons}}' %}
63
50
You can then either add links to those directly, or use the `{{ special }}` helper we provide to give you the apppropriate links for signed-in/signed-out users. The `{{ special }}` helper will display a sign-out link and the user's email address when they are signed-in.
64
51
65
52
## Ensuring signed in users for routes
@@ -84,7 +71,6 @@ Use `mrt add accounts-password` if you want to have email/username login authent
84
71
85
72
## Setting up OAuth/social integrations
86
73
87
-
{% assign loginButtons = '{{> loginButtons}}' %}
88
74
Use `accounts-ui` to configure your social/OAuth integrations (or manually create records in your database, if you have those skills). We don't have the nice instructions on how to configure the services built into this package, but if you choose to use <code>{{ loginButtons }}</code> elsewhere in your application (even temporarily), you can configure OAuth logins there.
89
75
90
76
## Configuration
@@ -119,6 +105,13 @@ Since this is a young package, we are maintaining compatibility with accounts-ui
119
105
type:"text", // The type of field you want
120
106
required:true// Adds html 5 required property if true
121
107
}]
108
+
fluidLayout:false// Set to true to use bootstrap3 container-fluid and row-fluid classes.
109
+
useContainer:true// Set to false to use an unstyled "accounts-entry-container" class instead of a bootstrap3 "container" or "container-fluid" class.
110
+
signInAfterRegistration:true// Set to false to avoid prevent users being automatically signed up upon sign-up e.g. to wait until their email has been verified.
111
+
emailVerificationPendingRoute:'/verification-pending'// The route to which users should be directed after sign-up. Only relevant if signInAfterRegistration is false.
112
+
showSpinner:true// Show the spinner when the client is talking to the server (spin.js)
113
+
spinnerOptions: { color:"#000", top:"80%" } // options as per [spin.js](http://fgnass.github.io/spin.js/)
114
+
122
115
});
123
116
});
124
117
```
@@ -152,4 +145,4 @@ dashboard (used after signing in).
152
145
153
146
## Interested in building a quick meteor app that starts with Accounts-Entry?
154
147
155
-
We've created a [meteor-boilerplate repo](http://github.differential.io/meteor-boilerplate/) that you can clone as a starting point for an app. It follows all our standards that we use for building apps for our clients.
148
+
We've created a [meteor-boilerplate repo](http://github.differential.com/meteor-boilerplate/) that you can clone as a starting point for an app. It follows all our standards that we use for building apps for our clients.
Copy file name to clipboardExpand all lines: client/t9n/arabic.coffee
+2
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ ar =
25
25
configure:"تعديل"
26
26
with:"مع"
27
27
createAccount:"افتح حساب جديد"
28
+
verificationPending:"Confirm your email address"
29
+
verificationPendingDetails:"A confirmation email has been sent to the email address you provided. Click on the confirmation link in the email to activate your account."
Copy file name to clipboardExpand all lines: client/t9n/english.coffee
+2
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ en =
25
25
configure:"Configure"
26
26
with:"with"
27
27
createAccount:"Create an Account"
28
+
verificationPending:"Confirm your email address"
29
+
verificationPendingDetails:"A confirmation email has been sent to the email address you provided. Click on the confirmation link in the email to activate your account."
Copy file name to clipboardExpand all lines: client/t9n/french.coffee
+2
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ fr =
25
25
configure:"Configurer"
26
26
with:"avec"
27
27
createAccount:"Créer un compte"
28
+
verificationPending:"Confirm your email address"
29
+
verificationPendingDetails:"A confirmation email has been sent to the email address you provided. Click on the confirmation link in the email to activate your account."
Copy file name to clipboardExpand all lines: client/t9n/german.coffee
+2
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ de =
25
25
configure:"Konfigurieren"
26
26
with:"mit"
27
27
createAccount:"Konto erzeugen"
28
+
verificationPending:"Confirm your email address"
29
+
verificationPendingDetails:"A confirmation email has been sent to the email address you provided. Click on the confirmation link in the email to activate your account."
Copy file name to clipboardExpand all lines: client/t9n/italian.coffee
+2
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ it =
25
25
configure:"Configura"
26
26
with:"con"
27
27
createAccount:"Crea un Account"
28
+
verificationPending:"Confirm your email address"
29
+
verificationPendingDetails:"A confirmation email has been sent to the email address you provided. Click on the confirmation link in the email to activate your account."
Copy file name to clipboardExpand all lines: client/t9n/polish.coffee
+2
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ pl =
25
25
configure:"Konfiguruj"
26
26
with:"z"
27
27
createAccount:"Utwórz konto"
28
+
verificationPending:"Confirm your email address"
29
+
verificationPendingDetails:"A confirmation email has been sent to the email address you provided. Click on the confirmation link in the email to activate your account."
Copy file name to clipboardExpand all lines: client/t9n/portuguese.coffee
+2
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ pt =
25
25
configure:"Configurar"
26
26
with:"com"
27
27
createAccount:"Criar Conta"
28
+
verificationPending:"Confirm your email address"
29
+
verificationPendingDetails:"A confirmation email has been sent to the email address you provided. Click on the confirmation link in the email to activate your account."
Copy file name to clipboardExpand all lines: client/t9n/russian.coffee
+2
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ ru =
25
25
configure:"Конфигурировать"
26
26
with:"с"
27
27
createAccount:"Создать аккаунт"
28
+
verificationPending:"Confirm your email address"
29
+
verificationPendingDetails:"A confirmation email has been sent to the email address you provided. Click on the confirmation link in the email to activate your account."
Copy file name to clipboardExpand all lines: client/t9n/slovene.coffee
+2
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ sl =
25
25
configure:"Nastavi"
26
26
with:"z"
27
27
createAccount:"Nova registracija"
28
+
verificationPending:"Confirm your email address"
29
+
verificationPendingDetails:"A confirmation email has been sent to the email address you provided. Click on the confirmation link in the email to activate your account."
Copy file name to clipboardExpand all lines: client/t9n/spanish.coffee
+2
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,8 @@ es =
24
24
configure:"Disposición"
25
25
with:"con"
26
26
createAccount:"Crear cuenta"
27
+
verificationPending:"Confirm your email address"
28
+
verificationPendingDetails:"A confirmation email has been sent to the email address you provided. Click on the confirmation link in the email to activate your account."
Copy file name to clipboardExpand all lines: client/t9n/swedish.coffee
+2
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,8 @@ sv =
25
25
configure:"Konfigurera"
26
26
with:"med"
27
27
createAccount:"Skapa ett konto"
28
+
verificationPending:"Confirm your email address"
29
+
verificationPendingDetails:"A confirmation email has been sent to the email address you provided. Click on the confirmation link in the email to activate your account."
0 commit comments