Skip to content

mvtango/nickname-auth-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nickname-auth-login

Contributors: mvtango
Tags: wordpress, plugin, login
Requires at least: 4.8
Tested up to: 4.8
Stable tag: 0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Allow users to authenticate with their nicknames + passwords. THIS CAN BE A SECURITY NIGHTMARE. Consider carefully before enabling.

Description

After activating this plugin, users can authenticate using their nickname and password. Nicknames updates through the Wordpress API that use the entry points personal_options_update and edit_user_profile_update that would result in duplicate nicknames will be refused after activation of the plugin.

Known Bugs:

  • The plugin will not check for existing duplicate nicknames on installation.
  • If duplicate nicknames exist, the plugins refuses to use them for authentication
  • The error message for rejecting duplicate nickname updates is not translation-ready

Tip:

Use this SQL query to list the users with duplicate nicknames:

select 
    count(*) as count, 
    group_concat(wp_users.user_login), 
    group_concat(wp_users.ID), meta_value 
from wp_usermeta, wp_users 
where 
    meta_key="nickname" 
   and wp_usermeta.user_id=wp_users.ID 
group by meta_value 
having count>1;

Installation

Installing the plugin can be done by downloading the .zip file from here:

https://github.com/mvtango/nickname-auth-login/archive/master.zip

... and uploading it through the 'Plugins > Add New > Upload' screen in your WordPress dashboard. Then activate the plugin through the 'Plugins' menu in WordPress.

About

Allow wordpress users to authenticate using their nicknames. NOT RECOMMENDED FOR GENRAL USE.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages