简体   繁体   English

Drupal用户登录表单中的默认名称?

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM