Coder Social home page Coder Social logo

yourls-change-password-1's Introduction

Change Password

This is a YOURLS plugin to allow users to change their password via the administration interface and stores a hashed version in the configuration file. You can enforce minimum length and some complexity requirements.

Requirements

  • YOURLS version 1.7 or greater
  • Passwords must already be hashed by YOURLS

Installation

  • In /user/plugins create a directory named change-password
  • Copy these files to that directory
  • Activate this plugin on the manage plugins page

Configuration

By default this plugin enforces a minimum password length of 6 characters. You can change that and also enforce any of the following:

  • Require at least one digit
  • Require at least one special character
  • Require both uppercase and lowercase letters

Place the following directives at the end of config.php and change them to meet your needs:

/**
 * Settings for Change Password plugin
 */
 define('VVA_CHANGE_PASSWORD_MINIMUM_LENGTH', 6 );
 define('VVA_CHANGE_PASSWORD_USE_DIGITS', FALSE );
 define('VVA_CHANGE_PASSWORD_USE_SPECIAL', FALSE );
 define('VVA_CHANGE_PASSWORD_USE_UPPERCASE', FALSE );

Notes

If a new version of YOURLS implements user management in the database this plugin will be obsolete. This is intended as a workaround until then.

Version

1.0

Source

https://github.com/vvanasten/YOURLS-Change-Password

License

MIT

yourls-change-password-1's People

Contributors

vvanasten avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.