创建用户在果园CMS [英] Create User In Orchard CMS
问题描述
我知道有一个模块Orchard.Users构建。
我想包括用户注册,登录,忘记密码(等)到我的自定义模块。
I know that there is a build in module Orchard.Users. I want to include the user registration, Login, Forget password (etc) into My Custom Module.
我读了果园文档,但我没有找到与此相关的话题有用的任何东西。谷歌搜索使我像管理员回答 - >设置 - >用户 - >添加用户,但是这是我不需要。
I read the Orchard Documentation but I didn't find any thing useful related to this topic. Search Google leads me to answers like ADMIN -> SETTINGS - > USERS -> Add User but this is what I don't need.
我需要包括登录,用户注册在我自己的模块。请参考我的文章的一些或建议。
I need to include the Login, User Registration in My Own Module. Please refer me to some article or suggest.
推荐答案
首先,你应该打开用户注册(管理 - >设置 - >用户 - >用户可以在网站上创建新帐户)
然后,你将有机会获得〜/用户/帐号/注册
at first you should turn on user registration (ADMIN->SETTINGS->USERS->Users can create new accounts on the site)
Then you'll have access to ~/Users/Account/Register
还可以阅读这些讨论:
- 的http://orchard.$c$cplex.com/discussions/258455
- 的http://orchard.$c$cplex.com/discussions/258197
- 的http://orchard.$c$cplex.com/discussions/281070
- http://orchard.codeplex.com/discussions/258455
- http://orchard.codeplex.com/discussions/258197
- http://orchard.codeplex.com/discussions/281070
这篇关于创建用户在果园CMS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!