[英]Default name in Drupal user login form?
Is is possible to pre-enter the username via URL in the Drupal user page, eg: 是否可以通过Drupal用户页面中的URL预先输入用户名,例如:
www.example.com/user?name=peter
such that "peter" is filled automatically in the Name
filed and so the user is required to enter the password only. 这样“peter”会在Name
域中自动填充,因此用户只需要输入密码。
是的,编写Prepopulate模块来处理这种事情。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.