承接 level51/more-admins 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

level51/more-admins

Composer 安装命令:

composer require level51/more-admins

包简介

A small SilverStripe module for adding multiple default admins through environment config. Comes handy for dev teams!

README 文档

README

Installation

composer require level51/more-admins

If you don't like composer you can just download and unpack it to more-admins/ under the root of your SilverStripe project.

Setup

  1. Install the module properly
  2. Extend your _ss_environment.php file with multiple admin credentials, e.g.:
global $_DEFAULT_ADMINS;
$_DEFAULT_ADMINS['root@root.de'] = 'root';
$_DEFAULT_ADMINS['test@test.de'] = 'mypw1';

Do a dev/build?flush=all and you are done!

Notes

If your are using this module you do not need to specify a default admin the default way via Security::setDefaultAdmin() or the constants SS_DEFAULT_ADMIN_USERNAME and SS_DEFAULT_ADMIN_PASSWORD since the module will use the first entry in the $_DEFAULT_ADMINS array if there is no default admin, yet.

If you want to use it with basic auth you can specify the realm message in the prompt via the config API:

MoreAdminsBasicAuth:
  default_realm: 'This site is protected. You need to enter admin credentials.'

统计信息

  • 总下载量: 36
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-10-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固