simevo / spid-wordpress

SPID (Sistema Pubblico di Identità Digitale) WordPress plugin
GNU Affero General Public License v3.0
4 stars 1 forks source link

prevent SPID users to login with regular WP user/pass, fixes: #58 #66

Closed simevo closed 5 years ago

simevo commented 5 years ago

when a SPID user is first created, the spid_user user meta is set to true

when anybody tries to login, if we don't have the SPID login parameters in the url (indicating it's a regulat WP login), we filter out users that have the spid_user meta set to true