WP Manifestindependent plugin directory
manifest / developer / acf-encrypted-password

Advanced Custom Fields: Encrypted Password

A simple ACF field to use in place of the default Password field to encrypt the password stored in the database using PHP 5.5's password_hash.

★ 10stars
280composer installs
v1.0.3latest · 7 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/log1x/acf-encrypted-password/archive/refs/heads/master.zip

On Packagist as log1x/acf-encrypted-password:

composer require log1x/acf-encrypted-password
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

This is a simple ACF field to use in place of the default Password field to encrypt the password stored in the database using PHP 5.5's password_hash() function.

Requirements

  • PHP >= 7
  • ACF >= 5

Installation

$ composer require log1x/acf-encrypted-password

Usage

You can verify the password using PHP 5.5's password_verify() function like so:

$input = $_GET['password'];
$hash  = get_field('password');

if (password_verify($input, $hash)) {
  echo 'Correct';
} else {
  echo 'Incorrect';
}

Releases

1 release.

Tag
Published
v1.0.3 latest
Jul 4, 2019 7 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.