如何删除用户注册/登录表单? [英] How do I remove the user registration/login form?

查看:20
本文介绍了如何删除用户注册/登录表单?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站不需要用户登录功能.只有部分用户需要发布新节点.

My website doesn't need the user login functionality. Only some users need to post new nodes.

如何在 Drupal 中删除用户注册和登录表单?

How do I remove the user registration and the login forms in Drupal?

推荐答案

虽然在技术上可以删除登录功能,但您不应该这样做,因为那样您的管理员将永远无法登录该站点.

While it's technically possible to remove the login functionality, you shouldn't, because then your administrator could never log onto the site.

为了删除注册功能,您只需浏览到 admin/user/settings(对于 Drupal 6)或 admin/config/people/accounts(适用于 Drupal 7) 并选择只有站点管理员可以创建新用户帐户"选项.

In order to remove the register functionality, you simply need to browse to admin/user/settings (for Drupal 6) or admin/config/people/accounts (for Drupal 7) and select the the "Only site administrators can create new user accounts" option.

这篇关于如何删除用户注册/登录表单?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆