模板 atSignIn 在哪里定义?
Where is template atSignIn defined?
我下载了一个名为 MeteorAdmin 的 Meteor Starter 项目。
此项目正在使用 meteor-usersaccounts
包,html 文件之一中有此代码 {{pathFor route='atSignIn'}}
。
atSignIn
未在任何地方定义,我怀疑它在 useraccounts 包中定义但找不到它,有人知道吗?
this file 的第 45-56 行。
// Allowed routes along with theirs default configuration values
AccountsTemplates.ROUTE_DEFAULT = {
changePwd: { name: "atChangePwd", path: "/change-password"},
enrollAccount: { name: "atEnrollAccount", path: "/enroll-account"},
ensureSignedIn: { name: "atEnsureSignedIn", path: null},
forgotPwd: { name: "atForgotPwd", path: "/forgot-password"},
resetPwd: { name: "atResetPwd", path: "/reset-password"},
signIn: { name: "atSignIn", path: "/sign-in"},
signUp: { name: "atSignUp", path: "/sign-up"},
verifyEmail: { name: "atVerifyEmail", path: "/verify-email"},
resendVerificationEmail: { name: "atResendVerificationEmail", path: "/send-again"}
};
我下载了一个名为 MeteorAdmin 的 Meteor Starter 项目。
此项目正在使用 meteor-usersaccounts
包,html 文件之一中有此代码 {{pathFor route='atSignIn'}}
。
atSignIn
未在任何地方定义,我怀疑它在 useraccounts 包中定义但找不到它,有人知道吗?
this file 的第 45-56 行。
// Allowed routes along with theirs default configuration values
AccountsTemplates.ROUTE_DEFAULT = {
changePwd: { name: "atChangePwd", path: "/change-password"},
enrollAccount: { name: "atEnrollAccount", path: "/enroll-account"},
ensureSignedIn: { name: "atEnsureSignedIn", path: null},
forgotPwd: { name: "atForgotPwd", path: "/forgot-password"},
resetPwd: { name: "atResetPwd", path: "/reset-password"},
signIn: { name: "atSignIn", path: "/sign-in"},
signUp: { name: "atSignUp", path: "/sign-up"},
verifyEmail: { name: "atVerifyEmail", path: "/verify-email"},
resendVerificationEmail: { name: "atResendVerificationEmail", path: "/send-again"}
};