datamweb / shield-oauth

OAuth for CodeIgniter Shield
https://www.shield-oauth.codeigniter4.ir/
MIT License
57 stars 16 forks source link

Update 'username' field for 'newUser' process #58

Closed clsmedia closed 1 year ago

clsmedia commented 1 year ago

Adjusted the 'username' field in the user data array for the 'newUser' process to ensure uniqueness. Now, 'username' is set to the user's email address, as it must be unique. The first_name has also been fixed, as it wasn't set to the correct value.

datamweb commented 1 year ago

Thank you for PR! You must sign the commit with GPG. This will cause the changes to be registered in your name.

see https://github.com/datamweb/shield-oauth/pull/17#issuecomment-1308549694

clsmedia commented 1 year ago

Phew, I think I did it